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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSlotElement.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/html/HTMLSlotElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
index b99c9c10c6d16710a3fd16e6b2dc084da85c0cd4..ce03ac552f2650ca0a6d08c619d51b39e6cd156c 100644
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
@@ -186,14 +186,14 @@ AtomicString HTMLSlotElement::name() const
return normalizeSlotName(fastGetAttribute(HTMLNames::nameAttr));
}
-void HTMLSlotElement::attach(const AttachContext& context)
+void HTMLSlotElement::attachLayoutTree(const AttachContext& context)
{
for (auto& node : m_distributedNodes) {
if (node->needsAttach())
- node->attach(context);
+ node->attachLayoutTree(context);
}
- HTMLElement::attach(context);
+ HTMLElement::attachLayoutTree(context);
}
void HTMLSlotElement::detach(const AttachContext& context)

Powered by Google App Engine
This is Rietveld 408576698