| 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 8a176bcb16ac11b91a4d4c3b7b7a0bcf195535ff..567ed676320a6625e8cac1805e738dbce33c5f8c 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,13 +24,12 @@
|
| height_direction_fragmentation_type_(height_direction_fragmentation_type),
|
| is_new_fc_(is_new_fc) {}
|
|
|
| -void NGPhysicalConstraintSpace::AddExclusion(const NGLogicalRect& exclusion,
|
| +void NGPhysicalConstraintSpace::AddExclusion(const NGExclusion* exclusion,
|
| unsigned options) {
|
| - NGLogicalRect* exclusion_ptr = new NGLogicalRect(exclusion);
|
| - exclusions_.append(WTF::wrapUnique(exclusion_ptr));
|
| + exclusions_.append(exclusion);
|
| }
|
|
|
| -const Vector<std::unique_ptr<const NGLogicalRect>>&
|
| +const HeapVector<Member<const NGExclusion>>&
|
| NGPhysicalConstraintSpace::Exclusions(unsigned options) const {
|
| // TODO(layout-ng): Filter based on options? Perhaps layout Opportunities
|
| // should filter instead?
|
|
|