Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc

Issue 2770483002: CS of out-of-flow positioned objects should have is_new_fc == true (Closed)
Patch Set: update TestExpectations Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698