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