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

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: 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/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 cef1413cc304fe07171fba0db17eeea9d28a7c6d..58230044210efeb3ed56d4cc6d891d5b869e0ff9 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -822,7 +822,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