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

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

Issue 2743053003: [Reland #1] Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: Fix DOM object leaks. Diff this against Patch Set 10. 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/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 2a5f7b490cdb9622aaa1c6348342294d5f006ba6..5c3adf05b9140d602373833d2208f7547899d088 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -810,7 +810,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