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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2564633002: Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: Add new layout tests. 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: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index d31b73c2933e9eba7c572af82fd298f97f0d90e6..728687bb06a7b749a5d0b98950e414ebc4879808 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -829,7 +829,8 @@ class CORE_EXPORT Document : public ContainerNode,
void willChangeFrameOwnerProperties(int marginWidth,
int marginHeight,
- ScrollbarMode);
+ ScrollbarMode,
+ bool isDisplayNone);
// Returns true if this document belongs to a frame that the parent document
// made invisible (for instance by setting as style display:none).

Powered by Google App Engine
This is Rietveld 408576698