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

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

Issue 2164493002: Renamed Node::attach to Node::attachLayoutTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: third_party/WebKit/Source/core/dom/ContainerNode.cpp
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
index c312b2cfdabe902c8489b109d7b4eeedcb77555e..f5ce454f5dc95f92d1d2a896d2a645f081801174 100644
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
@@ -742,7 +742,7 @@ void ContainerNode::notifyNodeRemoved(Node& root)
}
}
-void ContainerNode::attach(const AttachContext& context)
+void ContainerNode::attachLayoutTree(const AttachContext& context)
{
AttachContext childrenContext(context);
childrenContext.resolvedStyle = nullptr;
@@ -752,11 +752,11 @@ void ContainerNode::attach(const AttachContext& context)
DCHECK(child->needsAttach() || childAttachedAllowedWhenAttachingChildren(this));
#endif
if (child->needsAttach())
- child->attach(childrenContext);
+ child->attachLayoutTree(childrenContext);
}
clearChildNeedsStyleRecalc();
- Node::attach(context);
+ Node::attachLayoutTree(context);
}
void ContainerNode::detach(const AttachContext& context)

Powered by Google App Engine
This is Rietveld 408576698