Chromium Code Reviews| 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 72245da7b33fedbfa0c30e88044881ded386ef5e..8d49ef1f4aefb85d88a4458027512fadf696f391 100644 |
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp |
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp |
| @@ -123,7 +123,8 @@ void CustomElementDefinition::upgrade(Element* element) |
| if (!succeeded) |
| return; |
| - CHECK(element->getCustomElementState() == CustomElementState::Custom); |
| + element->setCustomElementState(CustomElementState::Custom); |
| + // CHECK(element->getCustomElementState() == CustomElementState::Custom); |
|
dominicc (has gone to gerrit)
2016/07/22 07:34:08
Delete this line.
|
| } |
| bool CustomElementDefinition::hasAttributeChangedCallback( |