Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
index d2962edc0d73796563384574b7fe9ea6cdbc18ac..c3f4c6401827ee2d4b35d3e128e32c4ff6413229 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
@@ -21,6 +21,7 @@ class NGBlockBreakToken; |
class NGConstraintSpace; |
class NGConstraintSpaceBuilder; |
class NGInlineNode; |
+class NGLayoutResult; |
class NGPhysicalFragment; |
// A class for general block layout (e.g. a <div> with no special style). |
@@ -41,7 +42,7 @@ class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm { |
NGBreakToken* break_token = nullptr); |
Optional<MinAndMaxContentSizes> ComputeMinAndMaxContentSizes() const override; |
- RefPtr<NGPhysicalFragment> Layout() override; |
+ RefPtr<NGLayoutResult> Layout() override; |
private: |
NGBoxStrut CalculateMargins(const NGConstraintSpace& space, |
@@ -49,7 +50,7 @@ class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm { |
// Creates a new constraint space for the current child. |
NGConstraintSpace* CreateConstraintSpaceForCurrentChild(); |
- void FinishCurrentChildLayout(RefPtr<NGPhysicalBoxFragment>); |
+ void FinishCurrentChildLayout(RefPtr<NGLayoutResult>); |
// Layout inline children. |
void LayoutInlineChildren(NGInlineNode*); |