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 f008d686370ed2844e0e40f2442916bc5c17a0e6..b15ae8296321560aa521bdbb880e58194698dd70 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 |
@@ -4,7 +4,7 @@ |
#include "core/layout/ng/ng_block_layout_algorithm.h" |
-#include "core/layout/ng/ng_box.h" |
+#include "core/layout/ng/ng_box_iterator.h" |
#include "core/layout/ng/ng_constraint_space.h" |
#include "core/layout/ng/ng_fragment.h" |
#include "core/style/ComputedStyle.h" |
@@ -28,7 +28,7 @@ TEST_F(NGBlockLayoutAlgorithmTest, FixedSize) { |
NGConstraintSpace space(LayoutUnit(100), LayoutUnit(-1)); |
- NGBlockLayoutAlgorithm algorithm(style_, NGBox(nullptr)); |
+ NGBlockLayoutAlgorithm algorithm(style_, NGBoxIterator(nullptr)); |
NGFragment* frag = algorithm.layout(space); |
EXPECT_EQ(frag->inlineSize(), LayoutUnit(30)); |
EXPECT_EQ(frag->blockSize(), LayoutUnit(40)); |