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

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

Issue 2679303005: [css-grid] Clamp the number of auto repeat tracks in all cases (Closed)
Patch Set: Created 3 years, 10 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 8edfa093a2ab880d3d7c71a300cc884b96b3b805..aea3015427aeab9a94b4bdb9885df43f9f03b029 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h
@@ -143,6 +143,8 @@ class LayoutGrid final : public LayoutBlock {
size_t computeAutoRepeatTracksCount(GridTrackSizingDirection,
SizingOperation) const;
+ size_t clampAutoRepeatTracks(GridTrackSizingDirection,
+ size_t autoRepeatTracks) const;
typedef ListHashSet<size_t> OrderedTrackIndexSet;
std::unique_ptr<OrderedTrackIndexSet> computeEmptyTracksForAutoRepeat(

Powered by Google App Engine
This is Rietveld 408576698