| 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())
|
|
|