| Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| index c312b2cfdabe902c8489b109d7b4eeedcb77555e..f5ce454f5dc95f92d1d2a896d2a645f081801174 100644
|
| --- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| @@ -742,7 +742,7 @@ void ContainerNode::notifyNodeRemoved(Node& root)
|
| }
|
| }
|
|
|
| -void ContainerNode::attach(const AttachContext& context)
|
| +void ContainerNode::attachLayoutTree(const AttachContext& context)
|
| {
|
| AttachContext childrenContext(context);
|
| childrenContext.resolvedStyle = nullptr;
|
| @@ -752,11 +752,11 @@ void ContainerNode::attach(const AttachContext& context)
|
| DCHECK(child->needsAttach() || childAttachedAllowedWhenAttachingChildren(this));
|
| #endif
|
| if (child->needsAttach())
|
| - child->attach(childrenContext);
|
| + child->attachLayoutTree(childrenContext);
|
| }
|
|
|
| clearChildNeedsStyleRecalc();
|
| - Node::attach(context);
|
| + Node::attachLayoutTree(context);
|
| }
|
|
|
| void ContainerNode::detach(const AttachContext& context)
|
|
|