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 b86114014de3c17defa5eb747de92de119325add..acd2b2b24cb11cb1bc8658a628bf6cf2fe97da09 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,12 +63,12 @@ class NGBlockLayoutAlgorithmTest |
NGBlockNode parent(style_.get()); |
parent.SetFirstChild(first_child); |
- RefPtr<NGPhysicalFragment> fragment = |
+ RefPtr<NGLayoutResult> result = |
NGBlockLayoutAlgorithm(/* layout_object */ nullptr, style_.get(), |
first_child, space) |
.Layout(); |
- return toNGPhysicalBoxFragment(fragment.get()); |
+ return toNGPhysicalBoxFragment(result->PhysicalFragment().get()); |
} |
std::pair<RefPtr<NGPhysicalBoxFragment>, NGConstraintSpace*> |