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

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

Issue 2411333007: [css-grid] Avoid storing pointers to orthogonal grid items (Closed)
Patch Set: Patch for landing. Created 4 years, 2 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 b3468a9d7e01e04857a2a91181eeddca0fa95f48..49039a4ae0b27276a8634d5a5c4fbdf6c55ca2c1 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h
@@ -348,7 +348,7 @@ class LayoutGrid final : public LayoutBlock {
size_t m_autoRepeatColumns{0};
size_t m_autoRepeatRows{0};
- Vector<LayoutBox*> m_orthogonalChildren;
+ bool m_hasAnyOrthogonalChildren;
std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyColumns{nullptr};
std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyRows{nullptr};

Powered by Google App Engine
This is Rietveld 408576698