Index: Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp |
diff --git a/Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp b/Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp |
index baf8d904b4a018cc31fa821cc93c036752a90bbd..070f9e975f271c653c045542a0d73282730cd229 100644 |
--- a/Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp |
+++ b/Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp |
@@ -110,7 +110,7 @@ void V8CustomElementLifecycleCallbacks::created(Element* element) |
if (!canInvokeCallback()) |
return; |
- element->setIsUpgradedCustomElement(); |
+ element->setCustomElementState(Element::Upgraded); |
v8::HandleScope handleScope; |
v8::Handle<v8::Context> context = toV8Context(scriptExecutionContext(), m_world.get()); |