| Index: third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
|
| index 4a116337a0f2d197eed706e96235b95029af6078..99c6a759e5a1311151b99b5c43da3a0ddec67e10 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
|
| @@ -82,14 +82,12 @@ class NGInlineNodeTest : public RenderingTest {
|
| RefPtr<NGConstraintSpace> constraint_space =
|
| NGConstraintSpaceBuilder(kHorizontalTopBottom)
|
| .ToConstraintSpace(kHorizontalTopBottom);
|
| - NGLineBuilder line_builder(node, constraint_space.get());
|
| + NGLineBuilder line_builder(node, constraint_space.get(), nullptr);
|
|
|
| NGTextLayoutAlgorithm algorithm(node, constraint_space.get());
|
| algorithm.LayoutInline(&line_builder);
|
|
|
| - NGFragmentBuilder fragment_builder(NGPhysicalFragment::kFragmentBox, node);
|
| - line_builder.CreateFragments(&fragment_builder);
|
| - RefPtr<NGLayoutResult> result = fragment_builder.ToBoxFragment();
|
| + RefPtr<NGLayoutResult> result = line_builder.CreateFragments();
|
| for (const auto& child :
|
| toNGPhysicalBoxFragment(result->PhysicalFragment().get())
|
| ->Children()) {
|
|
|