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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.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/layout/LayoutView.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h
index 2674d8016f485c5e0a0060df6c0d36e940dc13d0..03a6643b89f7ed8c5dfd379cfd1e4571cef62a88 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.h
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h
@@ -269,6 +269,8 @@ class CORE_EXPORT LayoutView final : public LayoutBlockFlow {
void computeSelfHitTestRects(Vector<LayoutRect>&,
const LayoutPoint& layerOffset) const override;
+ bool canHaveChildren() const override;
+
void layoutContent();
#if DCHECK_IS_ON()
void checkLayoutState();

Powered by Google App Engine
This is Rietveld 408576698