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 4b1eee0cf97db208f08a736174f0fb57443a3028..a56d50c246e4ee37823dbcc1753d3095ba306f65 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1658,8 +1658,8 @@ LocalFrame* WebLocalFrameImpl::createChildFrame( |
ownerElement->browsingContextContainerName(), |
ownerElement->scrollingMode(), ownerElement->marginWidth(), |
ownerElement->marginHeight(), ownerElement->allowFullscreen(), |
- ownerElement->allowPaymentRequest(), ownerElement->csp(), |
- ownerElement->allowedFeatures()); |
+ ownerElement->allowPaymentRequest(), ownerElement->isDisplayNone(), |
+ ownerElement->csp(), ownerElement->allowedFeatures()); |
// 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 |