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

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

Issue 2842413003: [css-grid] Wipe SizingOperation out (Closed)
Patch Set: Fix w/o refactoring Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutGrid.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
index 4513832855d1b5f70b8a836aa995a3e53d2e1d59..31e9ba947bdcce5c0f4652d71f52e48a2e1af7e0 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -174,7 +174,7 @@ void LayoutGrid::ComputeTrackSizesForDefiniteSize(
grid_.NumTracks(direction),
available_space);
track_sizing_algorithm_.Setup(direction, NumTracks(direction, grid_),
- kTrackSizing, available_space, free_space);
+ available_space, free_space);
track_sizing_algorithm_.Run();
#if DCHECK_IS_ON()
@@ -475,8 +475,8 @@ void LayoutGrid::ComputeTrackSizesForIndefiniteSize(
Grid& grid,
LayoutUnit& min_intrinsic_size,
LayoutUnit& max_intrinsic_size) const {
- algo.Setup(direction, NumTracks(direction, grid), kIntrinsicSizeComputation,
- WTF::kNullopt, WTF::kNullopt);
+ algo.Setup(direction, NumTracks(direction, grid), WTF::kNullopt,
+ WTF::kNullopt);
algo.Run();
min_intrinsic_size = algo.MinContentSize();
« no previous file with comments | « third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698