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 6d2432b78135389d847d481832eec6f09fcb11b0..36530aaa99e1dc09aae6ff7f97019f254b202523 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 |
@@ -7,6 +7,7 @@ |
#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/layout/ng/ng_length_utils.h" |
#include "core/style/ComputedStyle.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -26,7 +27,7 @@ TEST_F(NGBlockLayoutAlgorithmTest, FixedSize) { |
NGLogicalSize container_size; |
container_size.inlineSize = LayoutUnit(100); |
- container_size.blockSize = LayoutUnit(-1); |
+ container_size.blockSize = NGSizeIndefinite; |
NGConstraintSpace space(container_size); |
NGBlockLayoutAlgorithm algorithm(style_, NGBoxIterator(NGBox())); |