| Index: third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc
|
| index 93cf6ed98873a4d2357ffce48ea15f4f011f7567..a44e3a31f08d030640f00604dd390df1ff68a833 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc
|
| @@ -205,9 +205,11 @@ bool CompareNGLayoutOpportunitesByStartPoint(const NGLayoutOpportunity& lhs,
|
|
|
| NGLayoutOpportunityIterator::NGLayoutOpportunityIterator(
|
| NGConstraintSpace* space,
|
| - unsigned clear,
|
| - bool for_inline_or_bfc)
|
| - : constraint_space_(space) {
|
| + const NGLogicalOrigin origin_point,
|
| + const NGLogicalLeader leader_point)
|
| + : constraint_space_(space),
|
| + origin_point_(origin_point),
|
| + leader_point_(leader_point) {
|
| // TODO(chrome-layout-team): Combine exclusions that shadow each other.
|
| auto exclusions = constraint_space_->PhysicalSpace()->Exclusions();
|
| DCHECK(std::is_sorted(exclusions.begin(), exclusions.end(),
|
|
|