| Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| index 36e75476117687f322b3b31df95c9320ce9d1e8e..779ffa005a34ed750ddd852fd2447eb0b28b1620 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| @@ -606,7 +606,7 @@ void StyleEngine::platformColorsChanged() {
|
| }
|
|
|
| bool StyleEngine::shouldSkipInvalidationFor(const Element& element) const {
|
| - if (!resolver())
|
| + if (document().getStyleChangeType() >= SubtreeStyleChange)
|
| return true;
|
| if (!element.inActiveDocument())
|
| return true;
|
|
|