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

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

Issue 2735703005: [LayoutNG] Out-of-flow positioned objects in inline (Closed)
Patch Set: Rebase 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_inline_node_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
index 4a116337a0f2d197eed706e96235b95029af6078..99c6a759e5a1311151b99b5c43da3a0ddec67e10 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc
@@ -82,14 +82,12 @@ class NGInlineNodeTest : public RenderingTest {
RefPtr<NGConstraintSpace> constraint_space =
NGConstraintSpaceBuilder(kHorizontalTopBottom)
.ToConstraintSpace(kHorizontalTopBottom);
- NGLineBuilder line_builder(node, constraint_space.get());
+ NGLineBuilder line_builder(node, constraint_space.get(), nullptr);
NGTextLayoutAlgorithm algorithm(node, constraint_space.get());
algorithm.LayoutInline(&line_builder);
- NGFragmentBuilder fragment_builder(NGPhysicalFragment::kFragmentBox, node);
- line_builder.CreateFragments(&fragment_builder);
- RefPtr<NGLayoutResult> result = fragment_builder.ToBoxFragment();
+ RefPtr<NGLayoutResult> result = line_builder.CreateFragments();
for (const auto& child :
toNGPhysicalBoxFragment(result->PhysicalFragment().get())
->Children()) {
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc ('k') | third_party/WebKit/Source/core/layout/ng/ng_line_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698