Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc |
index 20a4e9c09fc721a8b89ae2d4b901cf90752af63f..30fc3021075eb433ab76089d080fee17b29e64d7 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc |
@@ -26,11 +26,11 @@ class NGBlockLayoutAlgorithmTest : public ::testing::Test { |
protected: |
void SetUp() override { style_ = ComputedStyle::create(); } |
- NGPhysicalFragment* RunBlockLayoutAlgorithm(const NGConstraintSpace* space, |
+ NGPhysicalFragment* RunBlockLayoutAlgorithm(NGConstraintSpace* space, |
NGBox* first_child) { |
- NGBlockLayoutAlgorithm algorithm(style_, first_child); |
+ NGBlockLayoutAlgorithm algorithm(style_, first_child, space); |
NGPhysicalFragment* frag; |
- while (!algorithm.Layout(space, &frag)) |
+ while (!algorithm.Layout(&frag)) |
continue; |
return frag; |
} |