Index: third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc |
index 567ed676320a6625e8cac1805e738dbce33c5f8c..867519f34c581e4ff7ea4d798886cd2ede848eaa 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc |
@@ -24,6 +24,24 @@ |
height_direction_fragmentation_type_(height_direction_fragmentation_type), |
is_new_fc_(is_new_fc) {} |
+NGPhysicalConstraintSpace::NGPhysicalConstraintSpace( |
+ NGPhysicalSize container_size) |
+ : container_size_(container_size), |
+ fixed_width_(0), |
+ fixed_height_(0), |
+ width_direction_triggers_scrollbar_(0), |
+ height_direction_triggers_scrollbar_(0), |
+ width_direction_fragmentation_type_(FragmentNone), |
+ height_direction_fragmentation_type_(FragmentNone) {} |
+ |
+NGPhysicalConstraintSpace::NGPhysicalConstraintSpace() |
+ : fixed_width_(0), |
+ fixed_height_(0), |
+ width_direction_triggers_scrollbar_(0), |
+ height_direction_triggers_scrollbar_(0), |
+ width_direction_fragmentation_type_(FragmentNone), |
+ height_direction_fragmentation_type_(FragmentNone) {} |
+ |
void NGPhysicalConstraintSpace::AddExclusion(const NGExclusion* exclusion, |
unsigned options) { |
exclusions_.append(exclusion); |