| 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 100b2cfd0fb88c45c90aebd46847252b066b1c8d..d38730829069895e4ed7a045317da037e52f9979 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
|
| @@ -169,7 +169,7 @@ TEST_F(NGLengthUtilsTest, testComputeContentContribution) {
|
| EXPECT_EQ(expected, ComputeMinAndMaxContentContribution(*style_, sizes));
|
|
|
| expected = MinAndMaxContentSizes{LayoutUnit(100), LayoutUnit(100)};
|
| - style_->setBoxSizing(BoxSizingBorderBox);
|
| + style_->setBoxSizing(EBoxSizing::kBorderBox);
|
| EXPECT_EQ(expected, ComputeMinAndMaxContentContribution(*style_, sizes));
|
|
|
| // Content size should never be below zero, even with box-sizing: border-box
|
| @@ -235,7 +235,7 @@ TEST_F(NGLengthUtilsTest, testComputeInlineSizeForFragment) {
|
| style_->setPaddingLeft(Length(50, Fixed));
|
| EXPECT_EQ(LayoutUnit(150), ComputeInlineSizeForFragment());
|
|
|
| - style_->setBoxSizing(BoxSizingBorderBox);
|
| + style_->setBoxSizing(EBoxSizing::kBorderBox);
|
| EXPECT_EQ(LayoutUnit(100), ComputeInlineSizeForFragment());
|
|
|
| // Content size should never be below zero, even with box-sizing: border-box
|
| @@ -306,7 +306,7 @@ TEST_F(NGLengthUtilsTest, testComputeBlockSizeForFragment) {
|
| style_->setPaddingBottom(Length(50, Fixed));
|
| EXPECT_EQ(LayoutUnit(150), ComputeBlockSizeForFragment());
|
|
|
| - style_->setBoxSizing(BoxSizingBorderBox);
|
| + style_->setBoxSizing(EBoxSizing::kBorderBox);
|
| EXPECT_EQ(LayoutUnit(100), ComputeBlockSizeForFragment());
|
|
|
| // Content size should never be below zero, even with box-sizing: border-box
|
|
|