openbsd-ports/www/mozilla-firefox/patches/patch-content_events_src_nsContentEventHandler_cpp
landry 4d98df5567 Update to mozilla-firefox 3.6.6. Fixes a bunch of MFSA, see
http://www.mozilla.org/security/known-vulnerabilities/firefox36.html
The new plugin sandboxing code is disabled because :
- it only supports binary blobs plugins we don't have
- it is an horrible maze of #ifdef linux-apple-win32 coming straight
  from an old version of chromium. Future versions should have better BSD
support..
tested by several on ports@, thanks!
2010-06-28 21:24:22 +00:00

14 lines
669 B
Plaintext

$OpenBSD: patch-content_events_src_nsContentEventHandler_cpp,v 1.2 2010/06/28 21:24:22 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;