| 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 d4bfe6956b45fd1ed99b78f346d868c530cbc9b4..b3a9ef8cd415d3074b3e7e51cd08310ec5018ada 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
|
| @@ -273,8 +273,8 @@ TEST_F(NGLengthUtilsTest, testMargins) {
|
|
|
| NGConstraintSpace* constraintSpace(ConstructConstraintSpace(200, 300));
|
|
|
| - NGBoxStrut margins =
|
| - ComputeMargins(*constraintSpace, *style_, kHorizontalTopBottom, LTR);
|
| + NGBoxStrut margins = ComputeMargins(*constraintSpace, *style_,
|
| + kHorizontalTopBottom, TextDirection::Ltr);
|
|
|
| EXPECT_EQ(LayoutUnit(20), margins.block_start);
|
| EXPECT_EQ(LayoutUnit(52), margins.inline_end);
|
| @@ -325,8 +325,8 @@ TEST_F(NGLengthUtilsTest, testAutoMargins) {
|
| NGFragmentBuilder builder(NGPhysicalFragmentBase::kFragmentBox);
|
| builder.SetInlineSize(LayoutUnit(150));
|
| NGPhysicalFragment* physical_fragment = builder.ToFragment();
|
| - NGFragment* fragment =
|
| - new NGFragment(kHorizontalTopBottom, LTR, physical_fragment);
|
| + NGFragment* fragment = new NGFragment(kHorizontalTopBottom,
|
| + TextDirection::Ltr, physical_fragment);
|
|
|
| NGConstraintSpace* constraint_space(ConstructConstraintSpace(200, 300));
|
|
|
|
|