Index: Source/core/dom/custom/CustomElement.cpp |
diff --git a/Source/core/dom/custom/CustomElement.cpp b/Source/core/dom/custom/CustomElement.cpp |
index eea313cd8340b815bc6c77029916406bfa2c9059..0dc1683ca39eb1d0e8fcddc8178b5413e162af22 100644 |
--- a/Source/core/dom/custom/CustomElement.cpp |
+++ b/Source/core/dom/custom/CustomElement.cpp |
@@ -124,7 +124,7 @@ void CustomElement::didEnterDocument(Element* element, const Document& document) |
ASSERT(element->customElementState() == Element::Upgraded); |
if (!document.domWindow()) |
return; |
- CustomElementCallbackScheduler::scheduleEnteredViewCallback(definitionFor(element)->callbacks(), element); |
+ CustomElementCallbackScheduler::scheduleAttachedCallback(definitionFor(element)->callbacks(), element); |
} |
void CustomElement::didLeaveDocument(Element* element, const Document& document) |
@@ -132,7 +132,7 @@ void CustomElement::didLeaveDocument(Element* element, const Document& document) |
ASSERT(element->customElementState() == Element::Upgraded); |
if (!document.domWindow()) |
return; |
- CustomElementCallbackScheduler::scheduleLeftViewCallback(definitionFor(element)->callbacks(), element); |
+ CustomElementCallbackScheduler::scheduleDetachedCallback(definitionFor(element)->callbacks(), element); |
} |
void CustomElement::wasDestroyed(Element* element) |