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

Unified Diff: third_party/WebKit/Source/core/dom/Element.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/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index fc38c794e94278e4516a9883ffa4d8068317b190..a5d9f56d781c5ae5308de20d259a35aafdab6e54 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1532,7 +1532,7 @@ void Element::removedFrom(ContainerNode* insertionPoint)
document().frame()->eventHandler().elementRemoved(this);
}
-void Element::attach(const AttachContext& context)
+void Element::attachLayoutTree(const AttachContext& context)
{
DCHECK(document().inStyleRecalc());
@@ -1564,7 +1564,7 @@ void Element::attach(const AttachContext& context)
if (ElementShadow* shadow = this->shadow())
shadow->attach(context);
- ContainerNode::attach(context);
+ ContainerNode::attachLayoutTree(context);
createPseudoElementIfNeeded(PseudoIdAfter);
createPseudoElementIfNeeded(PseudoIdBackdrop);
@@ -2952,7 +2952,7 @@ void Element::createPseudoElementIfNeeded(PseudoId pseudoId)
if (pseudoId == PseudoIdBackdrop)
document().addToTopLayer(element, this);
element->insertedInto(this);
- element->attach();
+ element->attachLayoutTree();
InspectorInstrumentation::pseudoElementCreated(element);

Powered by Google App Engine
This is Rietveld 408576698