| 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 905b8b46dadc87cfb1f1b4a64fe81f9bf421177a..f08222e77776f1e36d0eebc0a27536e85d8e413d 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
|
| @@ -40,13 +40,11 @@ class NGBlockLayoutAlgorithmTest : public ::testing::Test {
|
| NGBlockNode parent(style_.get());
|
| parent.SetFirstChild(first_child);
|
|
|
| - NGLayoutCoordinator coordinator(&parent, space);
|
| + NGBlockLayoutAlgorithm algorithm(style_.get(), first_child, space);
|
| +
|
| NGPhysicalFragment* fragment;
|
| - coordinator.Tick(&fragment);
|
| - EXPECT_EQ(kBlockLayoutAlgorithm,
|
| - coordinator.GetAlgorithmStackForTesting()[0]->algorithmType());
|
| - while (!coordinator.Tick(&fragment))
|
| - ;
|
| + NGLayoutAlgorithm* not_used;
|
| + EXPECT_EQ(kNewFragment, algorithm.Layout(nullptr, &fragment, ¬_used));
|
|
|
| return toNGPhysicalBoxFragment(fragment);
|
| }
|
|
|