Index: third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
index fb68a53d2861596e71710f397ddbd3212a86127a..ea1b4d4bfa4593ed287432cf11cfebd50d474fc9 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h |
@@ -43,6 +43,12 @@ class LayoutTextFragment final : public LayoutText { |
LayoutTextFragment(Node*, StringImpl*); |
~LayoutTextFragment() override; |
+ static LayoutTextFragment* createAnonymous(PseudoElement&, StringImpl*); |
+ static LayoutTextFragment* createAnonymous(PseudoElement&, |
+ StringImpl*, |
+ unsigned start, |
+ unsigned length); |
+ |
bool isTextFragment() const override { return true; } |
bool canBeSelectionLeaf() const override { |