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 1b6669bdac36660df90020fb506c8dd8935efa4d..e62c8bf4bd50e85aa03c9d4b6ea42f7e9b898574 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 |
@@ -141,8 +141,8 @@ NGLayoutOpportunityIterator* NGConstraintSpace::LayoutOpportunityIterator( |
layout_opp_iter_.reset(); |
if (!layout_opp_iter_) { |
- layout_opp_iter_ = |
- WTF::makeUnique<NGLayoutOpportunityIterator>(this, iter_offset); |
+ layout_opp_iter_ = WTF::makeUnique<NGLayoutOpportunityIterator>( |
+ this, AvailableSize(), iter_offset); |
} |
return layout_opp_iter_.get(); |
} |