ddd3e93eae
Too much changes to list them, just enjoy it. Thanks to the ones who tested the betas/rc. ok jasper@
15 lines
706 B
Plaintext
15 lines
706 B
Plaintext
$OpenBSD: patch-content_events_src_nsContentEventHandler_cpp,v 1.3 2011/03/30 21:39:14 landry Exp $
|
|
fix for gcc3 archs ?
|
|
--- content/events/src/nsContentEventHandler.cpp.orig Thu Mar 3 23:11:22 2011
|
|
+++ content/events/src/nsContentEventHandler.cpp Thu Mar 10 15:39:40 2011
|
|
@@ -1029,7 +1029,8 @@ nsContentEventHandler::OnSelectionEvent(nsSelectionEve
|
|
selPrivate->EndBatchChanges();
|
|
NS_ENSURE_SUCCESS(rv, rv);
|
|
|
|
- nsCOMPtr<nsISelection2>(do_QueryInterface(mSelection))->ScrollIntoView(
|
|
+ nsCOMPtr<nsISelection2> sel2 = do_QueryInterface(mSelection);
|
|
+ sel2->ScrollIntoView(
|
|
nsISelectionController::SELECTION_FOCUS_REGION, PR_FALSE, -1, -1);
|
|
aEvent->mSucceeded = PR_TRUE;
|
|
return NS_OK;
|