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

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

Issue 2649583002: [LayoutNG] Remove the ng_layout_coordinator and temporary LayoutSync method. (Closed)
Patch Set: rebase v2 Created 3 years, 11 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_legacy_block_layout_algorithm.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.cc
index 3f4d8c630fbd3969765fee1fb50e5c77212f11d7..c19654d0b0ec32abaf9a3664a56fc7b929e85697 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.cc
@@ -15,12 +15,8 @@ NGLegacyBlockLayoutAlgorithm::NGLegacyBlockLayoutAlgorithm(
block_(block),
constraint_space_(constraint_space) {}
-NGLayoutStatus NGLegacyBlockLayoutAlgorithm::Layout(
- NGPhysicalFragment*,
- NGPhysicalFragment** fragment_out,
- NGLayoutAlgorithm**) {
- *fragment_out = block_->RunOldLayout(*constraint_space_);
- return kNewFragment;
+NGPhysicalFragment* NGLegacyBlockLayoutAlgorithm::Layout() {
+ return block_->RunOldLayout(*constraint_space_);
}
DEFINE_TRACE(NGLegacyBlockLayoutAlgorithm) {

Powered by Google App Engine
This is Rietveld 408576698