Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc

Issue 2702403003: [layoutng] Split NGLayoutResult out of NGPhysicalFragment (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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*>

Powered by Google App Engine
This is Rietveld 408576698