| Index: Source/core/dom/Text.h
|
| diff --git a/Source/core/dom/Text.h b/Source/core/dom/Text.h
|
| index 33a459a61b93408c67c0b11db54bfffc13807c46..3cf2b52f239d4dd011365c4db33acd1bd59f20ef 100644
|
| --- a/Source/core/dom/Text.h
|
| +++ b/Source/core/dom/Text.h
|
| @@ -35,6 +35,11 @@ class Text : public CharacterData {
|
| public:
|
| static const unsigned defaultLengthLimit = 1 << 16;
|
|
|
| + static PassRefPtr<Text> create(Document& document, const String& data)
|
| + {
|
| + return create(&document, data);
|
| + }
|
| +
|
| static PassRefPtr<Text> create(Document*, const String&);
|
| static PassRefPtr<Text> createWithLengthLimit(Document*, const String&, unsigned positionInString, unsigned lengthLimit = defaultLengthLimit);
|
| static PassRefPtr<Text> createEditingText(Document*, const String&);
|
|
|