| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 5334335ce4bd85fc5ec74ef610f142f5836b8d4c..4257023239a20922beb53cf9cd42dab254c8ae34 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -1959,7 +1959,7 @@ ShadowRoot* Element::attachShadow(const ScriptState* scriptState, const ShadowRo
|
|
|
| const AtomicString& tagName = localName();
|
| bool tagNameIsSupported = isV0CustomElement()
|
| - || isCustomElement()
|
| + || getCustomElementState() != CustomElementState::Uncustomized
|
| || tagName == HTMLNames::articleTag
|
| || tagName == HTMLNames::asideTag
|
| || tagName == HTMLNames::blockquoteTag
|
|
|