Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
index 5bffa4f0f5b99bb6dcf791bd159c3ce0821a4753..0242e35519f5dd575d990349e18c571b50f8f95d 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
@@ -14,7 +14,7 @@ |
namespace blink { |
class NGInlineNode; |
-class NGPhysicalBoxFragment; |
+class NGLayoutResult; |
class NGPhysicalTextFragment; |
class CORE_EXPORT NGFragmentBuilder final { |
@@ -33,6 +33,7 @@ class CORE_EXPORT NGFragmentBuilder final { |
NGFragmentBuilder& SetInlineOverflow(LayoutUnit); |
NGFragmentBuilder& SetBlockOverflow(LayoutUnit); |
+ NGFragmentBuilder& AddChild(RefPtr<NGLayoutResult>, const NGLogicalOffset&); |
NGFragmentBuilder& AddChild(RefPtr<NGPhysicalFragment>, |
const NGLogicalOffset&); |
NGFragmentBuilder& AddFloatingObject(NGFloatingObject*, |
@@ -90,7 +91,7 @@ class CORE_EXPORT NGFragmentBuilder final { |
// do not provide a setter here. |
// Creates the fragment. Can only be called once. |
- RefPtr<NGPhysicalBoxFragment> ToBoxFragment(); |
+ RefPtr<NGLayoutResult> ToBoxFragment(); |
RefPtr<NGPhysicalTextFragment> ToTextFragment(NGInlineNode*, |
unsigned index, |
unsigned start_offset, |