| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 1563af9a1beae961f203e482c01b42a5d6d5cbf7..c34c98fffc39f75b6dbadaa70106cff38dfb10c1 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -1250,7 +1250,7 @@ Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertio
|
| elementRareData()->clearClassListValueForQuirksMode();
|
|
|
| if (isUpgradedCustomElement() && inDocument())
|
| - CustomElement::didEnterDocument(this, document());
|
| + CustomElement::didAttach(this, document());
|
|
|
| TreeScope& scope = insertionPoint->treeScope();
|
| if (scope != treeScope())
|
| @@ -1303,7 +1303,7 @@ void Element::removedFrom(ContainerNode* insertionPoint)
|
| document().accessSVGExtensions().removeElementFromPendingResources(this);
|
|
|
| if (isUpgradedCustomElement())
|
| - CustomElement::didLeaveDocument(this, insertionPoint->document());
|
| + CustomElement::didDetach(this, insertionPoint->document());
|
| }
|
|
|
| document().removeFromTopLayer(this);
|
|
|