| 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 0f897b6a16c9f0a0c9fb0593279cf633a9a6d970..9413e11c80503879e1f35e758ba316ad110329ec 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -77,6 +77,8 @@
|
| #include "core/dom/custom/CustomElementRegistry.h"
|
| #include "core/dom/custom/V0CustomElement.h"
|
| #include "core/dom/custom/V0CustomElementRegistrationContext.h"
|
| +#include "core/dom/shadow/ElementShadow.h"
|
| +#include "core/dom/shadow/ElementShadowV0.h"
|
| #include "core/dom/shadow/InsertionPoint.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| #include "core/dom/shadow/ShadowRootInit.h"
|
| @@ -1295,7 +1297,7 @@ bool Element::shouldInvalidateDistributionWhenAttributeChanged(ElementShadow* el
|
| DCHECK(elementShadow);
|
| if (elementShadow->isV1())
|
| return false;
|
| - const SelectRuleFeatureSet& featureSet = elementShadow->ensureSelectFeatureSet();
|
| + const SelectRuleFeatureSet& featureSet = elementShadow->v0().ensureSelectFeatureSet();
|
|
|
| if (name == HTMLNames::idAttr) {
|
| AtomicString oldId = elementData()->idForStyleResolution();
|
|
|