| 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 74365e488fe43b3c00cdcd0adb8695e4f5125797..4eaeda5c26f63513c16a36a3ee5d678ba42a1a73 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).
|
| @@ -37,7 +38,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,
|
| @@ -45,7 +46,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*);
|
|
|