Index: third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h |
index 5b22d50a8a88b7f496778c43b843193f78e52935..a7bc05c1493779a096f6e1a60e977eb545dd21ce 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.h |
@@ -34,7 +34,8 @@ class CORE_EXPORT NGPhysicalConstraintSpace final |
: public GarbageCollectedFinalized<NGPhysicalConstraintSpace> { |
public: |
NGPhysicalConstraintSpace( |
- NGPhysicalSize container_size, |
+ NGPhysicalSize available_size, |
+ NGPhysicalSize percentage_resolution_size, |
bool fixed_width, |
bool fixed_height, |
bool width_direction_triggers_scrollbar, |
@@ -43,8 +44,6 @@ class CORE_EXPORT NGPhysicalConstraintSpace final |
NGFragmentationType height_direction_fragmentation_type, |
bool is_new_fc); |
- NGPhysicalSize ContainerSize() const { return container_size_; } |
- |
void AddExclusion(const NGLogicalRect&, unsigned options = 0); |
const Vector<std::unique_ptr<const NGLogicalRect>>& Exclusions( |
unsigned options = 0) const; |
@@ -54,7 +53,8 @@ class CORE_EXPORT NGPhysicalConstraintSpace final |
private: |
friend class NGConstraintSpace; |
- NGPhysicalSize container_size_; |
+ NGPhysicalSize available_size_; |
+ NGPhysicalSize percentage_resolution_size_; |
unsigned fixed_width_ : 1; |
unsigned fixed_height_ : 1; |