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

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

Issue 2696283003: Revert of Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: 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/WebFrame.cpp
diff --git a/third_party/WebKit/Source/web/WebFrame.cpp b/third_party/WebKit/Source/web/WebFrame.cpp
index 2bae07eeac9d1b457fc11226dcf45af0a1abfb2c..d59c8170970c2fb28bdc8fc58c94c931b261100f 100644
--- a/third_party/WebKit/Source/web/WebFrame.cpp
+++ b/third_party/WebKit/Source/web/WebFrame.cpp
@@ -149,8 +149,7 @@
if (frame->isLocalFrame()) {
toLocalFrame(frame)->document()->willChangeFrameOwnerProperties(
properties.marginWidth, properties.marginHeight,
- static_cast<ScrollbarMode>(properties.scrollingMode),
- properties.isDisplayNone);
+ static_cast<ScrollbarMode>(properties.scrollingMode));
}
owner->setBrowsingContextContainerName(properties.name);
@@ -159,7 +158,6 @@
owner->setMarginHeight(properties.marginHeight);
owner->setAllowFullscreen(properties.allowFullscreen);
owner->setAllowPaymentRequest(properties.allowPaymentRequest);
- owner->setIsDisplayNone(properties.isDisplayNone);
owner->setCsp(properties.requiredCsp);
owner->setDelegatedpermissions(properties.delegatedPermissions);
}
« no previous file with comments | « third_party/WebKit/Source/web/RemoteFrameOwner.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698