| 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 15c15451b2df73ca1b29a9169639cffaaf911047..931d439befe16feac2ec2f4b351692e19b8523e2 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -2765,7 +2765,7 @@ const AtomicString& Element::shadowPseudoId() const
|
|
|
| void Element::setShadowPseudoId(const AtomicString& id)
|
| {
|
| - DCHECK_EQ(CSSSelector::parsePseudoType(id, false), CSSSelector::PseudoWebKitCustomElement);
|
| + DCHECK(CSSSelector::parsePseudoType(id, false) == CSSSelector::PseudoWebKitCustomElement || CSSSelector::parsePseudoType(id, false) == CSSSelector::PseudoBlinkInternalElement);
|
| setAttribute(pseudoAttr, id);
|
| }
|
|
|
|
|