| 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 116b3efc50a51a949ba47e66ccfe63669e163a35..15ed13029839ea92042ef43f79ba7aa4b7dd5685 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);
|
| }
|
|
|
|
|