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

Unified Diff: content/common/frame_owner_properties.h

Issue 2564633002: Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: . Created 4 years 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: content/common/frame_owner_properties.h
diff --git a/content/common/frame_owner_properties.h b/content/common/frame_owner_properties.h
index 157c82334ddc3f30d1fd3145106a96abe19e930e..671d4bf3ad308d1af5bf476387cb809a17f30951 100644
--- a/content/common/frame_owner_properties.h
+++ b/content/common/frame_owner_properties.h
@@ -34,6 +34,7 @@ struct CONTENT_EXPORT FrameOwnerProperties {
int margin_width;
int margin_height;
bool allow_fullscreen;
+ bool is_display_none;
// An experimental attribute to be used by a parent frame to enforce CSP on a
// subframe. This is different from replicated CSP headers kept in

Powered by Google App Engine
This is Rietveld 408576698