| Index: third_party/WebKit/Source/core/html/HTMLContentElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLContentElement.cpp b/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
|
| index a16138ae2418c25e48d83df2c0b24ee2ede3dca6..ae5f8945648694942dd28f5485c959338b226ecc 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "core/css/parser/CSSParser.h"
|
| #include "core/dom/QualifiedName.h"
|
| #include "core/dom/shadow/ElementShadow.h"
|
| +#include "core/dom/shadow/ElementShadowV0.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
|
|
| @@ -77,7 +78,7 @@ void HTMLContentElement::parseAttribute(const QualifiedName& name, const AtomicS
|
| if (name == selectAttr) {
|
| if (ShadowRoot* root = containingShadowRoot()) {
|
| if (!root->isV1() && root->owner())
|
| - root->owner()->willAffectSelector();
|
| + root->owner()->v0().willAffectSelector();
|
| }
|
| m_shouldParseSelect = true;
|
| m_select = value;
|
|
|