openbsd-ports/www/mozilla-firefox/patches/patch-content_events_src_nsContentEventHandler_cpp
landry 2e2cfce7ed Update to firefox 6.0.
See http://www.mozilla.com/en-US/firefox/6.0/releasenotes/.
Remove patches merged upstream (#648721, #651461, #643122, #634609 and
maybe others).
ok rpointel@
2011-08-23 20:14:52 +00:00

15 lines
706 B
Plaintext

$OpenBSD: patch-content_events_src_nsContentEventHandler_cpp,v 1.4 2011/08/23 20:14:52 landry Exp $
fix for gcc3 archs ?
--- content/events/src/nsContentEventHandler.cpp.orig Fri Jul 22 00:18:34 2011
+++ content/events/src/nsContentEventHandler.cpp Sat Jul 30 15:37:26 2011
@@ -1028,7 +1028,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;