Index: third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc |
index 1d024121b113a8a88dccf5697012c69c0bb4f095..f779374330cb556453abff10dbd803a747179ea3 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc |
@@ -18,6 +18,12 @@ NGConstraintSpace::NGConstraintSpace(NGLogicalSize container_size) { |
block_fragmentation_type_ = FragmentNone; |
} |
+NGConstraintSpace::NGConstraintSpace(const NGConstraintSpace& other, |
+ NGLogicalSize container_size) |
+ : NGConstraintSpace(container_size) { |
+ exclusions_ = other.exclusions_; |
+} |
+ |
NGConstraintSpace NGConstraintSpace::fromLayoutObject(const LayoutBox& child) { |
bool fixedInline = false, fixedBlock = false; |
// XXX for orthogonal writing mode this is not right |