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

Unified Diff: third_party/WebKit/Source/core/dom/Node.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/Node.cpp
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
index ffb377480adadff7c42dd82b2acc81f345dfbd2f..92cc7fb58b35b8ec1c452e73ed1698e7f9cd23d8 100644
--- a/third_party/WebKit/Source/core/dom/Node.cpp
+++ b/third_party/WebKit/Source/core/dom/Node.cpp
@@ -917,10 +917,10 @@ void Node::reattach(const AttachContext& context)
// We only need to detach if the node has already been through attach().
if (getStyleChangeType() < NeedsReattachStyleChange)
detach(reattachContext);
- attach(reattachContext);
+ attachLayoutTree(reattachContext);
}
-void Node::attach(const AttachContext&)
+void Node::attachLayoutTree(const AttachContext&)
{
DCHECK(document().inStyleRecalc() || isDocumentNode());
DCHECK(!document().lifecycle().inDetach());

Powered by Google App Engine
This is Rietveld 408576698