| 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 031605191cb1e817ebb66c6e576b8f3b5890cdeb..482e823f0d88a987cd18f3a5ecc38aab3a874f38 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
|
| @@ -78,12 +78,12 @@ class NGInlineNodeTest : public RenderingTest {
|
|
|
| void CreateLine(NGInlineNode* node,
|
| Vector<RefPtr<const NGPhysicalTextFragment>>* fragments_out) {
|
| - NGConstraintSpace* constraint_space =
|
| + RefPtr<NGConstraintSpace> constraint_space =
|
| NGConstraintSpaceBuilder(kHorizontalTopBottom)
|
| .ToConstraintSpace(kHorizontalTopBottom);
|
| - NGLineBuilder line_builder(node, constraint_space);
|
| + NGLineBuilder line_builder(node, constraint_space.get());
|
|
|
| - NGTextLayoutAlgorithm algorithm(node, constraint_space);
|
| + NGTextLayoutAlgorithm algorithm(node, constraint_space.get());
|
| algorithm.LayoutInline(&line_builder);
|
|
|
| NGFragmentBuilder fragment_builder(NGPhysicalFragment::kFragmentBox, node);
|
|
|