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

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

Issue 2361373002: [css-grid] Clearing override sizes before running grid's layout logic. (Closed)
Patch Set: Getting back the initial approach, adding some constraints to avoid unneeded relayouts. Created 4 years, 3 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/LayoutGrid.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.h b/third_party/WebKit/Source/core/layout/LayoutGrid.h
index b83b4fc3ee18a680b8d1ed31a73e50436f0ff737..1419b25427854f3544fb52a8f8d6af53bdc01f7f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h
@@ -243,7 +243,7 @@ private:
size_t m_autoRepeatColumns { 0 };
size_t m_autoRepeatRows { 0 };
- bool m_hasAnyOrthogonalChild;
+ Vector<LayoutBox*> m_orthogonalChildren;
std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyColumns { nullptr };
std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyRows { nullptr };

Powered by Google App Engine
This is Rietveld 408576698