| Index: third_party/WebKit/Source/core/layout/ng/ng_base_layout_algorithm_test.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_base_layout_algorithm_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_base_layout_algorithm_test.cc
|
| index cba8debc7bc9c0d2a4af1fe4b0f23e9cf949ca96..c89f25382c82f8bf83661ba33505bc9442aa75f4 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_base_layout_algorithm_test.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_base_layout_algorithm_test.cc
|
| @@ -28,7 +28,7 @@ std::pair<RefPtr<NGPhysicalBoxFragment>, RefPtr<NGConstraintSpace>>
|
| NGBaseLayoutAlgorithmTest::RunBlockLayoutAlgorithmForElement(Element* element) {
|
| LayoutNGBlockFlow* block_flow =
|
| ToLayoutNGBlockFlow(element->GetLayoutObject());
|
| - NGBlockNode* node = new NGBlockNode(block_flow);
|
| + NGBlockNode node(block_flow);
|
| RefPtr<NGConstraintSpace> space =
|
| NGConstraintSpace::CreateFromLayoutObject(*block_flow);
|
|
|
|
|