Index: third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp |
index c4591086df199461c723131c2f40444eaf0ac08f..0b9b6f652cc9f76ac06c4fac59e5a568f75817d4 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp |
@@ -127,7 +127,7 @@ void CustomElementDefinition::upgrade(Element* element) |
return; |
} |
- CHECK(element->getCustomElementState() == CustomElementState::Custom); |
+ element->setCustomElementState(CustomElementState::Custom); |
} |
bool CustomElementDefinition::hasAttributeChangedCallback( |