Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1040)

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2564633002: Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: Rebase. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index f54da409225a9f4fa64f26ad71eda001e5e3c011..e76cb3217bc8e14f6f210bcf825d6f050abd938a 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -885,7 +885,7 @@ void FrameLoaderClientImpl::didAddContentSecurityPolicy(
}
void FrameLoaderClientImpl::didChangeFrameOwnerProperties(
- HTMLFrameElementBase* frameElement) {
+ HTMLFrameOwnerElement* frameElement) {
if (!m_webFrame->client())
return;
@@ -895,8 +895,8 @@ void FrameLoaderClientImpl::didChangeFrameOwnerProperties(
frameElement->browsingContextContainerName(),
frameElement->scrollingMode(), frameElement->marginWidth(),
frameElement->marginHeight(), frameElement->allowFullscreen(),
- frameElement->allowPaymentRequest(), frameElement->csp(),
- frameElement->delegatedPermissions()));
+ frameElement->allowPaymentRequest(), frameElement->isDisplayNone(),
+ frameElement->csp(), frameElement->delegatedPermissions()));
}
void FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler(

Powered by Google App Engine
This is Rietveld 408576698