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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.h

Issue 2564633002: Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: Comments from esprehn. 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/layout/LayoutView.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h
index d2036212776b80ba815be622db659abfe9d30354..083ab21ee46412ddc8477a9a7b7037372838cf91 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.h
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h
@@ -252,6 +252,8 @@ class CORE_EXPORT LayoutView final : public LayoutBlockFlow {
void computeSelfHitTestRects(Vector<LayoutRect>&,
const LayoutPoint& layerOffset) const override;
+ bool canHaveChildren() const override;
+
void layoutContent();
#if ENABLE(ASSERT)
void checkLayoutState();

Powered by Google App Engine
This is Rietveld 408576698