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