Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index f23032813ecfc83b9df814bff317a5c8fe1b9308..85b6e2f4f4444b76d1b61e3372ece6a5800a161c 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1585,8 +1585,8 @@ LocalFrame* WebLocalFrameImpl::createChildFrame( |
WebFrameOwnerProperties ownerProperties( |
ownerElement->scrollingMode(), ownerElement->marginWidth(), |
ownerElement->marginHeight(), ownerElement->allowFullscreen(), |
- ownerElement->allowPaymentRequest(), ownerElement->csp(), |
- ownerElement->delegatedPermissions()); |
+ ownerElement->allowPaymentRequest(), ownerElement->isDisplayNone(), |
+ ownerElement->csp(), ownerElement->delegatedPermissions()); |
// FIXME: Using subResourceAttributeName as fallback is not a perfect |
// solution. subResourceAttributeName returns just one attribute name. The |
// element might not have the attribute, and there might be other attributes |