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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.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/shadow/InsertionPoint.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
index 547c347e944e71b7dc9e5455d27c47c575dcf186..89374de3c3be4585d4aba3775ff655e0bbd0eeeb 100644
--- a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
@@ -98,7 +98,7 @@ void InsertionPoint::setDistributedNodes(DistributedNodes& distributedNodes)
m_distributedNodes.shrinkToFit();
}
-void InsertionPoint::attach(const AttachContext& context)
+void InsertionPoint::attachLayoutTree(const AttachContext& context)
{
// We need to attach the distribution here so that they're inserted in the right order
// otherwise the n^2 protection inside LayoutTreeBuilder will cause them to be
@@ -106,10 +106,10 @@ void InsertionPoint::attach(const AttachContext& context)
// the n^2 protection.
for (size_t i = 0; i < m_distributedNodes.size(); ++i) {
if (m_distributedNodes.at(i)->needsAttach())
- m_distributedNodes.at(i)->attach(context);
+ m_distributedNodes.at(i)->attachLayoutTree(context);
}
- HTMLElement::attach(context);
+ HTMLElement::attachLayoutTree(context);
}
void InsertionPoint::detach(const AttachContext& context)

Powered by Google App Engine
This is Rietveld 408576698