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

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

Issue 16951003: Fix broken AttachContext from r152289 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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/core/dom/ContainerNode.cpp
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp
index ce9ecf5275321b03e0202f7189f3b1b4eff974d4..37da258476defcdccbb4abf5e8a397a96e8fd795 100644
--- a/Source/core/dom/ContainerNode.cpp
+++ b/Source/core/dom/ContainerNode.cpp
@@ -710,13 +710,13 @@ void ContainerNode::dispatchPostAttachCallbacks()
void ContainerNode::attach(const AttachContext& context)
{
- attachChildren();
+ attachChildren(context);
Node::attach(context);
}
void ContainerNode::detach(const AttachContext& context)
{
- detachChildren();
+ detachChildren(context);
clearChildNeedsStyleRecalc();
Node::detach(context);
}

Powered by Google App Engine
This is Rietveld 408576698