| 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 20eb67aeec7d4dfe7a1d707ec6b0de340835adf5..b9c30899959fa87f8acca3d3024a27c4b2b86e3c 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
|
| @@ -245,7 +245,8 @@ NGLayoutOpportunityIterator::NGLayoutOpportunityIterator(
|
| NGLogicalOffset origin_point =
|
| opt_origin_point ? opt_origin_point.value() : NGLogicalOffset();
|
| NGLayoutOpportunity initial_opportunity =
|
| - CreateLayoutOpportunityFromConstraintSpace(*space, origin_point);
|
| + CreateLayoutOpportunityFromConstraintSpace(*constraint_space_,
|
| + origin_point);
|
| opportunity_tree_root_ = new NGLayoutOpportunityTreeNode(initial_opportunity);
|
|
|
| if (opt_leader_point) {
|
|
|