| Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
|
| index b9dce45a45c97a8a0a8c4ea60b1af6ccf277fa9e..8b3ba8b0eb83fbdab73bc81f24824a65454df3a9 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
|
| @@ -63,10 +63,10 @@ class NGBlockLayoutAlgorithmTest
|
| NGBlockNode* node = new NGBlockNode(style_.get());
|
| node->SetFirstChild(first_child);
|
|
|
| - RefPtr<NGPhysicalFragment> fragment =
|
| + RefPtr<NGLayoutResult> result =
|
| NGBlockLayoutAlgorithm(node, space).Layout();
|
|
|
| - return toNGPhysicalBoxFragment(fragment.get());
|
| + return toNGPhysicalBoxFragment(result->PhysicalFragment().get());
|
| }
|
|
|
| std::pair<RefPtr<NGPhysicalBoxFragment>, NGConstraintSpace*>
|
| @@ -77,9 +77,10 @@ class NGBlockLayoutAlgorithmTest
|
| NGConstraintSpace* space =
|
| NGConstraintSpace::CreateFromLayoutObject(*block_flow);
|
|
|
| - RefPtr<NGPhysicalFragment> fragment =
|
| + RefPtr<NGLayoutResult> result =
|
| NGBlockLayoutAlgorithm(node, space).Layout();
|
| - return std::make_pair(toNGPhysicalBoxFragment(fragment.get()), space);
|
| + return std::make_pair(
|
| + toNGPhysicalBoxFragment(result->PhysicalFragment().get()), space);
|
| }
|
|
|
| MinAndMaxContentSizes RunComputeMinAndMax(NGBlockNode* first_child) {
|
|
|