| Index: third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc
|
| index d4a1a118d6187b2c2e0ac9abf6ea35d9e93d9b80..b4cfa988cc5fc65aa46f8945a4a904e9b625a870 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc
|
| @@ -64,10 +64,10 @@ TEST_F(NGOutOfFlowLayoutPartTest, FixedInsideAbs) {
|
| // Test whether the oof fragments have been collected at NG->Legacy boundary.
|
| Element* rel = document().getElementById("rel");
|
| LayoutNGBlockFlow* block_flow = toLayoutNGBlockFlow(rel->layoutObject());
|
| - NGConstraintSpace* space =
|
| + RefPtr<NGConstraintSpace> space =
|
| NGConstraintSpace::CreateFromLayoutObject(*block_flow);
|
| NGBlockNode* node = new NGBlockNode(block_flow);
|
| - RefPtr<NGLayoutResult> result = node->Layout(space);
|
| + RefPtr<NGLayoutResult> result = node->Layout(space.get());
|
| EXPECT_EQ(result->OutOfFlowDescendants().size(), (size_t)2);
|
|
|
| // Test the final result.
|
|
|