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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_text_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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
index 4de2cda2207c47adaf2ea2028a076610d7ff1b79..f72caecb8cf527f60a4c59fa3722d0250fc3147e 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
@@ -14,14 +14,15 @@ NGTextLayoutAlgorithm::NGTextLayoutAlgorithm(
NGInlineNode* inline_box,
NGConstraintSpace* constraint_space,
NGBreakToken* break_token)
- : inline_box_(inline_box),
+ : NGLayoutAlgorithm(kTextLayoutAlgorithm),
+ inline_box_(inline_box),
constraint_space_(constraint_space),
break_token_(break_token) {
DCHECK(inline_box_);
}
NGLayoutStatus NGTextLayoutAlgorithm::Layout(
- NGFragmentBase*,
+ NGPhysicalFragmentBase*,
NGPhysicalFragmentBase** fragment_out,
NGLayoutAlgorithm**) {
// TODO(layout-dev): implement.
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698