Index: Source/core/dom/custom/CustomElementScheduler.cpp |
diff --git a/Source/core/dom/custom/CustomElementScheduler.cpp b/Source/core/dom/custom/CustomElementScheduler.cpp |
index ee5b4aec9a08c9a95ed858f21fb1003da81378fd..e4c10f3ffa63cfc903e19fb91705906d27e0aaf6 100644 |
--- a/Source/core/dom/custom/CustomElementScheduler.cpp |
+++ b/Source/core/dom/custom/CustomElementScheduler.cpp |
@@ -51,7 +51,7 @@ DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementScheduler) |
void CustomElementScheduler::scheduleCallback(PassRefPtr<CustomElementLifecycleCallbacks> callbacks, PassRefPtrWillBeRawPtr<Element> element, CustomElementLifecycleCallbacks::CallbackType type) |
{ |
- ASSERT(type != CustomElementLifecycleCallbacks::AttributeChanged); |
+ ASSERT(type != CustomElementLifecycleCallbacks::AttributeChangedCallback); |
if (!callbacks->hasCallback(type)) |
return; |
@@ -62,7 +62,7 @@ void CustomElementScheduler::scheduleCallback(PassRefPtr<CustomElementLifecycleC |
void CustomElementScheduler::scheduleAttributeChangedCallback(PassRefPtr<CustomElementLifecycleCallbacks> callbacks, PassRefPtrWillBeRawPtr<Element> element, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue) |
{ |
- if (!callbacks->hasCallback(CustomElementLifecycleCallbacks::AttributeChanged)) |
+ if (!callbacks->hasCallback(CustomElementLifecycleCallbacks::AttributeChangedCallback)) |
return; |
CustomElementCallbackQueue& queue = instance().schedule(element); |