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

Unified Diff: Source/WebCore/dom/ContainerNodeAlgorithms.h

Issue 12315016: Merge 142899 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 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
« no previous file with comments | « LayoutTests/svg/custom/animateMotion-path-change-crash-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/ContainerNodeAlgorithms.h
===================================================================
--- Source/WebCore/dom/ContainerNodeAlgorithms.h (revision 143487)
+++ Source/WebCore/dom/ContainerNodeAlgorithms.h (working copy)
@@ -162,9 +162,11 @@
ASSERT(!n->m_deletionHasBegun);
next = n->nextSibling();
- n->setPreviousSibling(0);
n->setNextSibling(0);
n->setParentOrHostNode(0);
+ container->setFirstChild(next);
+ if (next)
+ next->setPreviousSibling(0);
if (!n->refCount()) {
#ifndef NDEBUG
@@ -184,7 +186,6 @@
}
}
- container->setFirstChild(0);
container->setLastChild(0);
}
« no previous file with comments | « LayoutTests/svg/custom/animateMotion-path-change-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698