| Index: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| index b07a0b1a6b9f80efaaeecb44e21d04e3c4a0fef9..4a39d9aeaa815d18c9b5b603c1a0584364ebc8c1 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| @@ -34,10 +34,10 @@
|
| #include "core/css/ComputedStyleCSSValueMapping.h"
|
| #include "core/css/parser/CSSParser.h"
|
| #include "core/css/parser/CSSVariableParser.h"
|
| -#include "core/css/resolver/StyleResolver.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/dom/PseudoElement.h"
|
| +#include "core/dom/StyleEngine.h"
|
| #include "core/layout/LayoutObject.h"
|
| #include "core/style/ComputedStyle.h"
|
| #include "wtf/text/StringBuilder.h"
|
| @@ -554,7 +554,7 @@ CSSValue* CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropertyID propert
|
|
|
| bool forceFullLayout = isLayoutDependent(propertyID, style, layoutObject)
|
| || styledNode->isInShadowTree()
|
| - || (document.localOwner() && document.ensureStyleResolver().hasViewportDependentMediaQueries());
|
| + || (document.localOwner() && document.styleEngine().hasViewportDependentMediaQueries());
|
|
|
| if (forceFullLayout) {
|
| document.updateStyleAndLayoutIgnorePendingStylesheetsForNode(styledNode);
|
|
|