Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: Source/WebCore/dom/ContainerNode.cpp

Issue 9565015: Merge 108152 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/dom/ContainerNode.cpp
===================================================================
--- Source/WebCore/dom/ContainerNode.cpp (revision 109353)
+++ Source/WebCore/dom/ContainerNode.cpp (working copy)
@@ -479,15 +479,15 @@
Node* next = child->nextSibling();
removeBetween(prev, next, child.get());
- // Dispatch post-removal mutation events
- childrenChanged(false, prev, next, -1);
- dispatchSubtreeModifiedEvent();
-
if (child->inDocument())
child->removedFromDocument();
else
child->removedFromTree(true);
+ // Dispatch post-removal mutation events
+ childrenChanged(false, prev, next, -1);
+ dispatchSubtreeModifiedEvent();
+
return child;
}
« no previous file with comments | « LayoutTests/fast/dom/getElementById-consistency2-expected.txt ('k') | Source/WebCore/svg/SVGTRefElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698