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 102154475ad5c772608f88b9722471acd598899d..93935aad8c46017681912daded43a9507951ef59 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 |
@@ -11,7 +11,9 @@ |
namespace blink { |
class NGFragmentBase; |
+class NGInlineNode; |
class NGPhysicalFragment; |
+class NGPhysicalTextFragment; |
class CORE_EXPORT NGFragmentBuilder final |
: public GarbageCollectedFinalized<NGFragmentBuilder> { |
@@ -81,6 +83,9 @@ class CORE_EXPORT NGFragmentBuilder final |
// Creates the fragment. Can only be called once. |
NGPhysicalFragment* ToFragment(); |
+ NGPhysicalTextFragment* ToTextFragment(NGInlineNode*, |
+ unsigned start_index, |
+ unsigned end_index); |
DECLARE_VIRTUAL_TRACE(); |