Index: third_party/WebKit/Source/web/WebFrame.cpp |
diff --git a/third_party/WebKit/Source/web/WebFrame.cpp b/third_party/WebKit/Source/web/WebFrame.cpp |
index 372c36a18979dac5f91ae68e120378490ae173a6..6e6dd436cfb00dc7343ef45cb13c9a3cfdab12db 100644 |
--- a/third_party/WebKit/Source/web/WebFrame.cpp |
+++ b/third_party/WebKit/Source/web/WebFrame.cpp |
@@ -151,7 +151,8 @@ void WebFrame::setFrameOwnerProperties( |
if (frame->isLocalFrame()) { |
toLocalFrame(frame)->document()->willChangeFrameOwnerProperties( |
properties.marginWidth, properties.marginHeight, |
- static_cast<ScrollbarMode>(properties.scrollingMode)); |
+ static_cast<ScrollbarMode>(properties.scrollingMode), |
+ properties.isDisplayNone); |
} |
owner->setBrowsingContextContainerName(properties.name); |
@@ -160,6 +161,7 @@ void WebFrame::setFrameOwnerProperties( |
owner->setMarginHeight(properties.marginHeight); |
owner->setAllowFullscreen(properties.allowFullscreen); |
owner->setAllowPaymentRequest(properties.allowPaymentRequest); |
+ owner->setIsDisplayNone(properties.isDisplayNone); |
owner->setCsp(properties.requiredCsp); |
owner->setAllowedFeatures(properties.allowedFeatures); |
} |