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..cb804bf740cad25fca85b2673d6730e17354b4a8 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 |
@@ -76,8 +76,10 @@ class NGInlineNodeTest : public ::testing::Test { |
NGFragmentBuilder fragment_builder(NGPhysicalFragment::kFragmentBox, |
/* layout_object */ nullptr); |
line_builder.CreateFragments(&fragment_builder); |
- RefPtr<NGPhysicalBoxFragment> fragment = fragment_builder.ToBoxFragment(); |
- for (const auto& child : fragment->Children()) { |
+ RefPtr<NGLayoutResult> result = fragment_builder.ToBoxFragment(); |
+ for (const auto& child : |
+ toNGPhysicalBoxFragment(result->PhysicalFragment().get()) |
+ ->Children()) { |
fragments_out->push_back(toNGPhysicalTextFragment(child.get())); |
} |
} |