17b63192b8
${LOCALBASE}/firefox36 with firefox36 binary. Needed for archs firefox 4 doesn't support (yet?). Yes, i'm looking at you sparc64. Not yet linked to the build.
14 lines
669 B
Plaintext
14 lines
669 B
Plaintext
$OpenBSD: patch-content_events_src_nsContentEventHandler_cpp,v 1.3 2011/03/26 10:58:36 landry Exp $
|
|
--- content/events/src/nsContentEventHandler.cpp.orig Fri Jun 11 22:40:52 2010
|
|
+++ content/events/src/nsContentEventHandler.cpp Thu Jun 24 10:08:30 2010
|
|
@@ -928,7 +928,8 @@ nsContentEventHandler::OnSelectionEvent(nsSelectionEve
|
|
selPrivate->EndBatchChanges();
|
|
NS_ENSURE_SUCCESS(rv, rv);
|
|
|
|
- nsCOMPtr<nsISelection2>(do_QueryInterface(sel))->ScrollIntoView(
|
|
+ nsCOMPtr<nsISelection2> sel2 = do_QueryInterface(sel);
|
|
+ sel2->ScrollIntoView(
|
|
nsISelectionController::SELECTION_FOCUS_REGION, PR_FALSE, -1, -1);
|
|
aEvent->mSucceeded = PR_TRUE;
|
|
return NS_OK;
|