Title: [108435] trunk/Source/WebCore
Revision
108435
Author
[email protected]
Date
2012-02-21 19:16:11 -0800 (Tue, 21 Feb 2012)

Log Message

Partially revert r108418 - move allowEventDispatch() call back to where it used to be.

Rubber-stamped by Ryosuke Niwa.

Tested by fast/text/find-layout-crash.html

* dom/ContainerNode.cpp:
(WebCore::ContainerNode::removeChildren):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108434 => 108435)


--- trunk/Source/WebCore/ChangeLog	2012-02-22 03:11:59 UTC (rev 108434)
+++ trunk/Source/WebCore/ChangeLog	2012-02-22 03:16:11 UTC (rev 108435)
@@ -1,3 +1,14 @@
+2012-02-21  James Robinson  <[email protected]>
+
+        Partially revert r108418 - move allowEventDispatch() call back to where it used to be.
+
+        Rubber-stamped by Ryosuke Niwa.
+
+        Tested by fast/text/find-layout-crash.html
+
+        * dom/ContainerNode.cpp:
+        (WebCore::ContainerNode::removeChildren):
+
 2012-02-21  Anders Carlsson  <[email protected]>
 
         Background jitters on pages with background-attachment: fixed

Modified: trunk/Source/WebCore/dom/ContainerNode.cpp (108434 => 108435)


--- trunk/Source/WebCore/dom/ContainerNode.cpp	2012-02-22 03:11:59 UTC (rev 108434)
+++ trunk/Source/WebCore/dom/ContainerNode.cpp	2012-02-22 03:16:11 UTC (rev 108435)
@@ -592,6 +592,9 @@
             removedChild->detach();
     }
 
+    // FIXME: This should be just above dispatchSubtreeModifiedEvent();
+    allowEventDispatch();
+
     childrenChanged(false, 0, 0, -static_cast<int>(removedChildrenCount));
 
     for (i = 0; i < removedChildrenCount; ++i) {
@@ -603,8 +606,6 @@
         // and its optimized version removeChildren().
     }
 
-    allowEventDispatch();
-
     dispatchSubtreeModifiedEvent();
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to