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

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

Issue 2692403003: [LayoutNG] Make NGBlockLayoutAlgorithm accept a NGBlockNode. (Closed)
Patch Set: comments! Created 3 years, 10 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 d7b15e17f222504a586a8584ee20d685fedcddb7..70fede851c86d869f9f69a00e1c6197325b6988b 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
@@ -73,8 +73,7 @@ class NGInlineNodeTest : public ::testing::Test {
NGTextLayoutAlgorithm algorithm(node, constraint_space);
algorithm.LayoutInline(&line_builder);
- NGFragmentBuilder fragment_builder(NGPhysicalFragment::kFragmentBox,
- /* layout_object */ nullptr);
+ NGFragmentBuilder fragment_builder(NGPhysicalFragment::kFragmentBox, node);
line_builder.CreateFragments(&fragment_builder);
RefPtr<NGPhysicalBoxFragment> fragment = fragment_builder.ToBoxFragment();
for (const auto& child : fragment->Children()) {

Powered by Google App Engine
This is Rietveld 408576698