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 e0567a9029abf1241defa983378311411da865fd..ca4020c0d6265ee9925fe351d120e9217a639230 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp |
@@ -123,7 +123,7 @@ void CustomElementDefinition::upgrade(Element* element) |
if (!succeeded) |
return; |
- CHECK(element->getCustomElementState() == CustomElementState::Custom); |
+ element->setCustomElementState(CustomElementState::Custom); |
} |
bool CustomElementDefinition::hasAttributeChangedCallback( |