[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
inferno at chromium.org
inferno at chromium.org
Wed Dec 22 15:51:49 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 4b22515eb0ecb38b15b047a5e8142a1a0623ef9a
Author: inferno at chromium.org <inferno at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Nov 15 18:37:05 2010 +0000
2010-11-14 Abhishek Arya <inferno at chromium.org>
Reviewed by Dimitri Glazkov.
Event dispatch call can blow away the node's renderer initialized
before the call in updateSelectionForMouseDrag function. We need
to initialize it after the call.
https://bugs.webkit.org/show_bug.cgi?id=49524
* page/EventHandler.cpp:
(WebCore::EventHandler::updateSelectionForMouseDrag):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 07d464d..19fff5c 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-11-14 Abhishek Arya <inferno at chromium.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ Event dispatch call can blow away the node's renderer initialized
+ before the call in updateSelectionForMouseDrag function. We need
+ to initialize it after the call.
+ https://bugs.webkit.org/show_bug.cgi?id=49524
+
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::updateSelectionForMouseDrag):
+
2010-11-15 Patrick Gansterer <paroga at webkit.org>
Reviewed by Martin Robinson.
diff --git a/WebCore/page/EventHandler.cpp b/WebCore/page/EventHandler.cpp
index 18477e8..f6a2353 100644
--- a/WebCore/page/EventHandler.cpp
+++ b/WebCore/page/EventHandler.cpp
@@ -600,12 +600,12 @@ void EventHandler::updateSelectionForMouseDrag(Node* targetNode, const IntPoint&
if (!targetNode)
return;
+ if (!canMouseDragExtendSelect(targetNode))
+ return;
+
RenderObject* targetRenderer = targetNode->renderer();
if (!targetRenderer)
return;
-
- if (!canMouseDragExtendSelect(targetNode))
- return;
VisiblePosition targetPosition(targetRenderer->positionForPoint(localPoint));
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list