Rubber-stamped by Ryosuke Niwa.
Tested by fast/text/find-layout-crash.html
* dom/ContainerNode.cpp:
(WebCore::ContainerNode::removeChildren):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108435
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-21 James Robinson <jamesr@chromium.org>
+
+ 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 <andersca@apple.com>
Background jitters on pages with background-attachment: fixed
removedChild->detach();
}
+ // FIXME: This should be just above dispatchSubtreeModifiedEvent();
+ allowEventDispatch();
+
childrenChanged(false, 0, 0, -static_cast<int>(removedChildrenCount));
for (i = 0; i < removedChildrenCount; ++i) {
// and its optimized version removeChildren().
}
- allowEventDispatch();
-
dispatchSubtreeModifiedEvent();
}