Title: [196009] trunk/Source/WebCore
Revision
196009
Author
[email protected]
Date
2016-02-02 08:16:32 -0800 (Tue, 02 Feb 2016)

Log Message

REGRESSION(r195899): ASSERTION FAILED: is<Target>(source) in EventPath::retargetTouch() since r195899
https://bugs.webkit.org/show_bug.cgi?id=153741

Patch by Adrien Plazas <[email protected]> on 2016-02-02
Reviewed by Ryosuke Niwa.

* dom/EventDispatcher.cpp:
(WebCore::EventPath::retargetTouch):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (196008 => 196009)


--- trunk/Source/WebCore/ChangeLog	2016-02-02 16:11:23 UTC (rev 196008)
+++ trunk/Source/WebCore/ChangeLog	2016-02-02 16:16:32 UTC (rev 196009)
@@ -1,3 +1,13 @@
+2016-02-02  Adrien Plazas  <[email protected]>
+
+        REGRESSION(r195899): ASSERTION FAILED: is<Target>(source) in EventPath::retargetTouch() since r195899
+        https://bugs.webkit.org/show_bug.cgi?id=153741
+
+        Reviewed by Ryosuke Niwa.
+
+        * dom/EventDispatcher.cpp:
+        (WebCore::EventPath::retargetTouch):
+
 2016-02-01  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: High Level Memory Overview Instrument

Modified: trunk/Source/WebCore/dom/EventDispatcher.cpp (196008 => 196009)


--- trunk/Source/WebCore/dom/EventDispatcher.cpp	2016-02-02 16:11:23 UTC (rev 196008)
+++ trunk/Source/WebCore/dom/EventDispatcher.cpp	2016-02-02 16:16:32 UTC (rev 196009)
@@ -549,7 +549,7 @@
     if (!targetNode)
         return;
 
-    RelatedNodeRetargeter retargeter(*targetNode, downcast<MouseOrFocusEventContext>(*m_path[0]).node()->treeScope());
+    RelatedNodeRetargeter retargeter(*targetNode, m_path[0]->node()->treeScope());
     TreeScope* previousTreeScope = nullptr;
     for (auto& context : m_path) {
         TreeScope& currentTreeScope = context->node()->treeScope();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to