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(); |