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); |