| 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 bc79235b870023303b411d5f9d57272e20d0d0a8..0a6b811b157d95d4ac575407894b5778636e7ff2 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| @@ -552,7 +552,7 @@ CSSValue* CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropertyID propert
|
|
|
| bool forceFullLayout = isLayoutDependent(propertyID, style, layoutObject)
|
| || styledNode->isInShadowTree()
|
| - || (document.ownerElement() && document.ensureStyleResolver().hasViewportDependentMediaQueries());
|
| + || (document.localOwner() && document.ensureStyleResolver().hasViewportDependentMediaQueries());
|
|
|
| if (forceFullLayout) {
|
| document.updateLayoutIgnorePendingStylesheetsForNode(styledNode);
|
|
|