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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index d269191de65902e37e43757d974330cba09bec18..1d5f488b3f4e70fe13c9f91a87adefe543bc0144 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -2100,7 +2100,7 @@ StyleResolver& Document::ensureStyleResolver() const
return m_styleEngine->ensureResolver();
}
-void Document::attach(const AttachContext& context)
+void Document::attachLayoutTree(const AttachContext& context)
{
DCHECK_EQ(m_lifecycle.state(), DocumentLifecycle::Inactive);
DCHECK(!m_axObjectCache || this != &axObjectCacheOwner());
@@ -2112,7 +2112,7 @@ void Document::attach(const AttachContext& context)
m_layoutView->setStyle(StyleResolver::styleForDocument(*this));
m_layoutView->compositor()->setNeedsCompositingUpdate(CompositingUpdateAfterCompositingInputChange);
- ContainerNode::attach(context);
+ ContainerNode::attachLayoutTree(context);
// The TextAutosizer can't update layout view info while the Document is detached, so update now in case anything changed.
if (TextAutosizer* autosizer = textAutosizer())

Powered by Google App Engine
This is Rietveld 408576698