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

Unified Diff: Source/core/layout/LayoutGrid.cpp

Issue 1025213002: Begin tracking why layout is invalidated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: Source/core/layout/LayoutGrid.cpp
diff --git a/Source/core/layout/LayoutGrid.cpp b/Source/core/layout/LayoutGrid.cpp
index 41a70387d4d43d696a5d110fc9299e260c7d6a07..38f7239e25f8c5d3f23d25a616fb25a1c3612f7a 100644
--- a/Source/core/layout/LayoutGrid.cpp
+++ b/Source/core/layout/LayoutGrid.cpp
@@ -1108,7 +1108,7 @@ void LayoutGrid::dirtyGrid()
// is still ongoing.
// Forcing a new layout for the Grid render would cancel any ongoing painting and ensure
// the grid and its children are correctly laid out according to the new style rules.
- setNeedsLayout();
+ setNeedsLayout(LayoutInvalidationReason::Unknown);
esprehn 2015/03/23 20:19:44 GridChanged ?
m_grid.resize(0);
m_gridItemCoordinate.clear();

Powered by Google App Engine
This is Rietveld 408576698