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

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

Issue 2743053003: [Reland #1] Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: rebaseline. Created 3 years, 9 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/LocalFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
index 6d41c4722aaa74a90af2d742fd2a925c88fa42b0..a379b936c30261b78c658b53c5ee9e5c9877b025 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
@@ -928,7 +928,7 @@ void LocalFrameClientImpl::didAddContentSecurityPolicies(
}
void LocalFrameClientImpl::didChangeFrameOwnerProperties(
- HTMLFrameElementBase* frameElement) {
+ HTMLFrameOwnerElement* frameElement) {
if (!m_webFrame->client())
return;
@@ -938,8 +938,8 @@ void LocalFrameClientImpl::didChangeFrameOwnerProperties(
frameElement->browsingContextContainerName(),
frameElement->scrollingMode(), frameElement->marginWidth(),
frameElement->marginHeight(), frameElement->allowFullscreen(),
- frameElement->allowPaymentRequest(), frameElement->csp(),
- frameElement->allowedFeatures()));
+ frameElement->allowPaymentRequest(), frameElement->isDisplayNone(),
+ frameElement->csp(), frameElement->allowedFeatures()));
}
void LocalFrameClientImpl::dispatchWillStartUsingPeerConnectionHandler(
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.h ('k') | third_party/WebKit/Source/web/RemoteFrameOwner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698