Index: third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h |
index da2579f52cb2210de10d5980afc7014843781654..8ec623c86e0645143da9639430d1f8083e914837 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h |
@@ -37,9 +37,7 @@ class CORE_EXPORT NGInlineLayoutAlgorithm : public NGLayoutAlgorithm { |
NGConstraintSpace* space, |
NGBreakToken* break_token = nullptr); |
- NGLayoutStatus Layout(NGPhysicalFragment*, |
- NGPhysicalFragment**, |
- NGLayoutAlgorithm**) override; |
+ NGPhysicalFragment* Layout() override; |
DECLARE_VIRTUAL_TRACE(); |
@@ -50,9 +48,6 @@ class CORE_EXPORT NGInlineLayoutAlgorithm : public NGLayoutAlgorithm { |
bool LayoutCurrentChild(); |
NGConstraintSpace* CreateConstraintSpaceForCurrentChild() const; |
- enum State { kStateInit, kStateChildLayout, kStateFinalize }; |
- State state_ = kStateInit; |
- |
RefPtr<const ComputedStyle> style_; |
Member<NGInlineNode> first_child_; |
Member<NGConstraintSpace> constraint_space_; |