| 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 0df5c67d2f6d311d4df8c48a06e5b2b031ee19a1..5f5e8671eac50b3ea783eafd640957d2cb837b8c 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
|
| @@ -6,11 +6,11 @@
|
|
|
| #include "core/layout/ng/ng_constraint_space.h"
|
| #include "core/layout/ng/ng_constraint_space_builder.h"
|
| -#include "core/layout/ng/ng_fragment.h"
|
| #include "core/layout/ng/ng_fragment_builder.h"
|
| -#include "core/layout/ng/ng_physical_fragment.h"
|
| #include "core/layout/ng/ng_units.h"
|
| #include "core/style/ComputedStyle.h"
|
| +#include "core/layout/ng/ng_box_fragment.h"
|
| +#include "core/layout/ng/ng_physical_box_fragment.h"
|
| #include "platform/CalculationValue.h"
|
| #include "platform/LayoutUnit.h"
|
| #include "platform/Length.h"
|
| @@ -393,11 +393,11 @@ TEST_F(NGLengthUtilsTest, testAutoMargins) {
|
| style_->setMarginRight(Length(Auto));
|
| style_->setMarginLeft(Length(Auto));
|
|
|
| - NGFragmentBuilder builder(NGPhysicalFragmentBase::kFragmentBox);
|
| + NGFragmentBuilder builder(NGPhysicalFragment::kFragmentBox);
|
| builder.SetInlineSize(LayoutUnit(150));
|
| - NGPhysicalFragment* physical_fragment = builder.ToFragment();
|
| - NGFragment* fragment = new NGFragment(kHorizontalTopBottom,
|
| - TextDirection::Ltr, physical_fragment);
|
| + NGPhysicalBoxFragment* physical_fragment = builder.ToBoxFragment();
|
| + NGBoxFragment* fragment = new NGBoxFragment(
|
| + kHorizontalTopBottom, TextDirection::Ltr, physical_fragment);
|
|
|
| NGConstraintSpace* constraint_space(ConstructConstraintSpace(200, 300));
|
|
|
|
|