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 ed46db7dfa458a48bb2d7831fa9f3ddbbf4f6e7a..1a78096eb811a7f87acc1fd7429f7e6d82cd265b 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 |
@@ -36,6 +36,14 @@ class CORE_EXPORT NGBlockLayoutAlgorithm |
Optional<MinMaxContentSize> ComputeMinMaxContentSize() const override; |
virtual RefPtr<NGLayoutResult> Layout() override; |
+ protected: |
+ NGFragmentBuilder builder_; |
+ NGConstraintSpaceBuilder space_builder_; |
+ |
+ NGBoxStrut border_and_padding_; |
+ LayoutUnit content_size_; |
+ LayoutUnit max_inline_size_; |
+ |
private: |
NGBoxStrut CalculateMargins(NGLayoutInputNode* child, |
const NGConstraintSpace& space); |
@@ -62,12 +70,6 @@ class CORE_EXPORT NGBlockLayoutAlgorithm |
// Updates the fragment's BFC offset if it's not already set. |
void UpdateFragmentBfcOffset(const NGLogicalOffset& offset); |
- NGFragmentBuilder builder_; |
- NGConstraintSpaceBuilder space_builder_; |
- |
- NGBoxStrut border_and_padding_; |
- LayoutUnit content_size_; |
- LayoutUnit max_inline_size_; |
// MarginStrut for the previous child. |
NGMarginStrut curr_margin_strut_; |
NGLogicalOffset curr_bfc_offset_; |