Index: third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
index db9a641c820f6dafe1d5f46feb98db8178254151..3f37ac8084116fff36dfa3894c9ae1bf3f284902 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h |
@@ -15,7 +15,10 @@ class CORE_EXPORT NGConstraintSpaceBuilder final |
public: |
NGConstraintSpaceBuilder(NGWritingMode writing_mode); |
- NGConstraintSpaceBuilder& SetContainerSize(NGLogicalSize container_size); |
+ NGConstraintSpaceBuilder& SetAvailableSize(NGLogicalSize available_size); |
+ |
+ NGConstraintSpaceBuilder& SetPercentageResolutionSize( |
+ NGLogicalSize percentage_resolution_size); |
NGConstraintSpaceBuilder& SetIsFixedSizeInline(bool is_fixed_size_inline); |
NGConstraintSpaceBuilder& SetIsFixedSizeBlock(bool is_fixed_size_block); |
@@ -39,7 +42,8 @@ class CORE_EXPORT NGConstraintSpaceBuilder final |
DEFINE_INLINE_TRACE() {} |
private: |
- NGLogicalSize container_size_; |
+ NGLogicalSize available_size_; |
+ NGLogicalSize percentage_resolution_size_; |
// const bit fields. |
const unsigned writing_mode_ : 2; |