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 4ba9e69637002e04c1af9ffe57a11dcf951b5df8..5bbcbf7149f8e79ea569002429a5bb8e3dd3d341 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 |
@@ -22,6 +22,11 @@ class CORE_EXPORT NGConstraintSpaceBuilder final |
NGConstraintSpaceBuilder& SetPercentageResolutionSize( |
NGLogicalSize percentage_resolution_size); |
+ NGConstraintSpaceBuilder& SetFragmentainerSpaceAvailable(LayoutUnit space) { |
+ fragmentainer_space_available_ = space; |
+ return *this; |
+ } |
+ |
NGConstraintSpaceBuilder& SetTextDirection(TextDirection); |
NGConstraintSpaceBuilder& SetIsFixedSizeInline(bool is_fixed_size_inline); |
@@ -52,6 +57,7 @@ class CORE_EXPORT NGConstraintSpaceBuilder final |
private: |
NGLogicalSize available_size_; |
NGLogicalSize percentage_resolution_size_; |
+ LayoutUnit fragmentainer_space_available_; |
unsigned writing_mode_ : 2; |
unsigned parent_writing_mode_ : 2; |