| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index 50e0821e073d538c091bc4335eaf909e941edcd2..c3ed6061992aafa18bfba1d31a428df3c3c85ad1 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -29,6 +29,7 @@
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "bindings/core/v8/V8DOMWrapper.h"
|
| #include "core/HTMLNames.h"
|
| +#include "core/css/CSSSelector.h"
|
| #include "core/css/resolver/StyleResolver.h"
|
| #include "core/dom/AXObjectCache.h"
|
| #include "core/dom/Attr.h"
|
| @@ -2277,7 +2278,7 @@ void Node::setCustomElementState(CustomElementState newState)
|
| setFlag(newState == Upgraded, CustomElementUpgradedFlag);
|
|
|
| if (oldState == NotCustomElement || newState == Upgraded)
|
| - setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::createWithExtraData(StyleChangeReason::PseudoClass, StyleChangeExtraData::Unresolved)); // :unresolved has changed
|
| + toElement(this)->pseudoStateChanged(CSSSelector::PseudoUnresolved);
|
| }
|
|
|
| DEFINE_TRACE(Node)
|
|
|