| 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 199fee72ea41e2c4d77e53e584a7bcb198b4330a..2f21959bb37ee4abb871ebc6e3fcdb83704200e3 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
|
| @@ -29,7 +29,7 @@ NGConstraintSpace::NGConstraintSpace(NGWritingMode writing_mode,
|
| physical_space_ =
|
| new NGPhysicalConstraintSpace(size.ConvertToPhysical(writing_mode));
|
| for (const auto& exclusion : other.PhysicalSpace()->Exclusions()) {
|
| - physical_space_->AddExclusion(exclusion);
|
| + physical_space_->AddExclusion(*exclusion.get());
|
| }
|
| }
|
|
|
| @@ -82,7 +82,9 @@ NGConstraintSpace* NGConstraintSpace::CreateFromLayoutObject(
|
| builder.ToConstraintSpace());
|
| }
|
|
|
| -void NGConstraintSpace::AddExclusion(const NGExclusion* exclusion) const {
|
| +void NGConstraintSpace::AddExclusion(const NGLogicalRect& exclusion) const {
|
| + WRITING_MODE_IGNORED(
|
| + "Exclusions are stored directly in physical constraint space.");
|
| MutablePhysicalSpace()->AddExclusion(exclusion);
|
| }
|
|
|
|
|