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. |