| 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 87bc026b80b4ccb30ba758e576b2b983d8e90eb7..f239f14719b25fa815b681e07e8f88faa541f101 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
|
| @@ -5,7 +5,7 @@
|
| #include "core/layout/ng/ng_block_layout_algorithm.h"
|
|
|
| #include "core/layout/ng/ng_constraint_space.h"
|
| -#include "core/layout/ng/ng_fragment.h"
|
| +#include "core/layout/ng/ng_physical_fragment.h"
|
| #include "core/layout/ng/ng_length_utils.h"
|
| #include "core/style/ComputedStyle.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -28,11 +28,11 @@ TEST_F(NGBlockLayoutAlgorithmTest, FixedSize) {
|
| HorizontalTopBottom, NGLogicalSize(LayoutUnit(100), NGSizeIndefinite));
|
|
|
| NGBlockLayoutAlgorithm algorithm(style_, nullptr);
|
| - NGFragment* frag;
|
| + NGPhysicalFragment* frag;
|
| while (!algorithm.Layout(space, &frag))
|
| ;
|
| - EXPECT_EQ(frag->InlineSize(), LayoutUnit(30));
|
| - EXPECT_EQ(frag->BlockSize(), LayoutUnit(40));
|
| + EXPECT_EQ(frag->Width(), LayoutUnit(30));
|
| + EXPECT_EQ(frag->Height(), LayoutUnit(40));
|
| }
|
|
|
| } // namespace
|
|
|