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

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

Issue 2954953002: [LayoutNG] Abort a layout once the BFC offset is resolved. (Closed)
Patch Set: rebase. Created 3 years, 5 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/inline/ng_line_breaker_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker_test.cc b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker_test.cc
index f9c37cbf04f85688a8f8a29157ffb3db46d775b3..93f1fa8557c29581e06e2e1e9e3fa4a8a121122c 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker_test.cc
@@ -40,7 +40,10 @@ class NGLineBreakerTest : public NGBaseLayoutAlgorithmTest {
NGPhysicalFragment::NGFragmentType::kFragmentBox, node);
container_builder.SetBfcOffset(NGLogicalOffset{LayoutUnit(), LayoutUnit()});
- NGLineBreaker line_breaker(node, space.Get(), &container_builder);
+ Vector<RefPtr<NGUnpositionedFloat>> unpositioned_floats;
+ NGLineBreaker line_breaker(node, space.Get(), &container_builder,
+ &unpositioned_floats);
+
Vector<NGInlineItemResults> lines;
NGLineInfo line_info;
while (line_breaker.NextLine(&line_info, NGLogicalOffset()))

Powered by Google App Engine
This is Rietveld 408576698