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 9d697ddc71bfa28c771d1136192b53d3a974c353..f7a236f951580e01e0a6803a758beb9f6dc48aab 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 |
@@ -19,11 +19,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; |
} |