Index: Source/core/dom/custom/CustomElement.cpp |
diff --git a/Source/core/dom/custom/CustomElement.cpp b/Source/core/dom/custom/CustomElement.cpp |
index a3219fac1d8c92f4c9060ea8c1e3e70598578dbe..9e543df00d70ff8b1be3ddcfc720cd0cc422b4ae 100644 |
--- a/Source/core/dom/custom/CustomElement.cpp |
+++ b/Source/core/dom/custom/CustomElement.cpp |
@@ -115,7 +115,7 @@ void CustomElement::attributeDidChange(Element* element, const AtomicString& nam |
CustomElementScheduler::scheduleAttributeChangedCallback(element->customElementDefinition()->callbacks(), element, name, oldValue, newValue); |
} |
-void CustomElement::didEnterDocument(Element* element, const Document& document) |
+void CustomElement::didAttach(Element* element, const Document& document) |
{ |
ASSERT(element->customElementState() == Element::Upgraded); |
if (!document.domWindow()) |
@@ -123,7 +123,7 @@ void CustomElement::didEnterDocument(Element* element, const Document& document) |
CustomElementScheduler::scheduleCallback(element->customElementDefinition()->callbacks(), element, CustomElementLifecycleCallbacks::AttachedCallback); |
} |
-void CustomElement::didLeaveDocument(Element* element, const Document& document) |
+void CustomElement::didDetach(Element* element, const Document& document) |
{ |
ASSERT(element->customElementState() == Element::Upgraded); |
if (!document.domWindow()) |