Index: third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc |
index 880fa887edf2efa103de6c61c5be10682554f684..f6a017a6622d9fb895f291b39419ba4a3481761a 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc |
@@ -364,7 +364,9 @@ TEST_F(NGLengthUtilsTest, testBorders) { |
style_->setBorderLeftStyle(BorderStyleSolid); |
style_->setWritingMode(WritingMode::kVerticalLr); |
- NGBoxStrut borders = ComputeBorders(*style_); |
+ NGConstraintSpace* constraint_space(ConstructConstraintSpace(200, 300)); |
+ |
+ NGBoxStrut borders = ComputeBorders(*constraint_space, *style_); |
EXPECT_EQ(LayoutUnit(4), borders.block_start); |
EXPECT_EQ(LayoutUnit(3), borders.inline_end); |