Index: Source/core/dom/custom/CustomElement.cpp |
diff --git a/Source/core/dom/custom/CustomElement.cpp b/Source/core/dom/custom/CustomElement.cpp |
index 81443a6c9fe2356d4b3c4ef14bd870419b4082ae..a3219fac1d8c92f4c9060ea8c1e3e70598578dbe 100644 |
--- a/Source/core/dom/custom/CustomElement.cpp |
+++ b/Source/core/dom/custom/CustomElement.cpp |
@@ -104,7 +104,7 @@ void CustomElement::define(Element* element, PassRefPtr<CustomElementDefinition> |
case Element::WaitingForUpgrade: |
element->setCustomElementDefinition(definition); |
- CustomElementScheduler::scheduleCallback(definition->callbacks(), element, CustomElementLifecycleCallbacks::Created); |
+ CustomElementScheduler::scheduleCallback(definition->callbacks(), element, CustomElementLifecycleCallbacks::CreatedCallback); |
break; |
} |
} |
@@ -120,7 +120,7 @@ void CustomElement::didEnterDocument(Element* element, const Document& document) |
ASSERT(element->customElementState() == Element::Upgraded); |
if (!document.domWindow()) |
return; |
- CustomElementScheduler::scheduleCallback(element->customElementDefinition()->callbacks(), element, CustomElementLifecycleCallbacks::Attached); |
+ CustomElementScheduler::scheduleCallback(element->customElementDefinition()->callbacks(), element, CustomElementLifecycleCallbacks::AttachedCallback); |
} |
void CustomElement::didLeaveDocument(Element* element, const Document& document) |
@@ -128,7 +128,7 @@ void CustomElement::didLeaveDocument(Element* element, const Document& document) |
ASSERT(element->customElementState() == Element::Upgraded); |
if (!document.domWindow()) |
return; |
- CustomElementScheduler::scheduleCallback(element->customElementDefinition()->callbacks(), element, CustomElementLifecycleCallbacks::Detached); |
+ CustomElementScheduler::scheduleCallback(element->customElementDefinition()->callbacks(), element, CustomElementLifecycleCallbacks::DetachedCallback); |
} |
void CustomElement::wasDestroyed(Element* element) |