| 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 d1bf12a165ecd2d9f6d1eba3205aed692c3e1fcd..b494d2e27255894743af1f09e546e70c1ed94ef7 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
|
| @@ -48,13 +48,12 @@ class CORE_EXPORT NGBlockLayoutAlgorithm
|
| virtual RefPtr<NGLayoutResult> Layout() override;
|
|
|
| private:
|
| - NGBoxStrut CalculateMargins(NGLayoutInputNode* child,
|
| - const NGConstraintSpace& space);
|
| + NGBoxStrut CalculateMargins(NGLayoutInputNode* child);
|
|
|
| // Creates a new constraint space for the current child.
|
| RefPtr<NGConstraintSpace> CreateConstraintSpaceForChild(
|
| const NGLogicalOffset& child_bfc_offset,
|
| - NGLayoutInputNode*);
|
| + const NGLayoutInputNode&);
|
|
|
| // @return Estimated BFC offset for the "to be layout" child.
|
| NGLogicalOffset PrepareChildLayout(NGLayoutInputNode*);
|
| @@ -115,7 +114,8 @@ class CORE_EXPORT NGBlockLayoutAlgorithm
|
| NGLogicalOffset CalculateLogicalOffset(
|
| const WTF::Optional<NGLogicalOffset>& known_fragment_offset);
|
|
|
| - NGConstraintSpaceBuilder space_builder_;
|
| + NGLogicalSize child_available_size_;
|
| + NGLogicalSize child_percentage_size_;
|
|
|
| NGBoxStrut border_and_padding_;
|
| LayoutUnit content_size_;
|
|
|