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

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

Issue 2519263002: [layout-ng] Convert ng_block_layout_algorithm to yield to the coordinator (Closed)
Patch Set: sync to head Created 4 years 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_inline_layout_algorithm.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc
index 1cbd272577eb5b667d52f3e768b507eae98d334f..55c3995926dd94bbd90372d6bc9b488670528714 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc
@@ -18,7 +18,8 @@ NGInlineLayoutAlgorithm::NGInlineLayoutAlgorithm(
NGInlineNode* first_child,
NGConstraintSpace* constraint_space,
NGBreakToken* break_token)
- : style_(style),
+ : NGLayoutAlgorithm(kInlineLayoutAlgorithm),
+ style_(style),
first_child_(first_child),
constraint_space_(constraint_space),
break_token_(break_token) {
@@ -26,7 +27,7 @@ NGInlineLayoutAlgorithm::NGInlineLayoutAlgorithm(
}
NGLayoutStatus NGInlineLayoutAlgorithm::Layout(
- NGFragmentBase*,
+ NGPhysicalFragmentBase*,
NGPhysicalFragmentBase** fragment_out,
NGLayoutAlgorithm**) {
NGFragmentBuilder builder(NGPhysicalFragmentBase::kFragmentBox);

Powered by Google App Engine
This is Rietveld 408576698