| 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 c7fec0b567af2260e2c87ccbd562bfd3f398c3e6..1af3ab5331ea2ec83cfe2981031592fdffcfa535 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
|
| @@ -66,8 +66,8 @@ TEST_F(NGOutOfFlowLayoutPartTest, FixedInsideAbs) {
|
| LayoutNGBlockFlow* block_flow = toLayoutNGBlockFlow(rel->layoutObject());
|
| NGConstraintSpace* space =
|
| NGConstraintSpace::CreateFromLayoutObject(*block_flow);
|
| - NGBlockNode node(block_flow);
|
| - RefPtr<NGPhysicalFragment> fragment = node.Layout(space);
|
| + NGBlockNode* node = new NGBlockNode(block_flow);
|
| + RefPtr<NGPhysicalFragment> fragment = node->Layout(space);
|
| EXPECT_EQ(fragment->OutOfFlowDescendants().size(), (size_t)2);
|
|
|
| // Test the final result.
|
|
|