| Index: Source/core/editing/InsertTextCommand.h
|
| diff --git a/Source/core/editing/InsertTextCommand.h b/Source/core/editing/InsertTextCommand.h
|
| index 3663bc46a5b2f9ddb0c32ee718a843473a71bc64..10c8d80ea49d290e314ac52e928361afa59edba2 100644
|
| --- a/Source/core/editing/InsertTextCommand.h
|
| +++ b/Source/core/editing/InsertTextCommand.h
|
| @@ -48,21 +48,21 @@ public:
|
| RebalanceAllWhitespaces
|
| };
|
|
|
| - static PassRefPtr<InsertTextCommand> create(Document* document, const String& text, bool selectInsertedText = false,
|
| + static PassRefPtr<InsertTextCommand> create(Document& document, const String& text, bool selectInsertedText = false,
|
| RebalanceType rebalanceType = RebalanceLeadingAndTrailingWhitespaces)
|
| {
|
| return adoptRef(new InsertTextCommand(document, text, selectInsertedText, rebalanceType));
|
| }
|
|
|
| - static PassRefPtr<InsertTextCommand> createWithMarkerSupplier(Document* document, const String& text, PassRefPtr<TextInsertionMarkerSupplier> markerSupplier)
|
| + static PassRefPtr<InsertTextCommand> createWithMarkerSupplier(Document& document, const String& text, PassRefPtr<TextInsertionMarkerSupplier> markerSupplier)
|
| {
|
| return adoptRef(new InsertTextCommand(document, text, markerSupplier));
|
| }
|
|
|
| private:
|
|
|
| - InsertTextCommand(Document*, const String& text, bool selectInsertedText, RebalanceType);
|
| - InsertTextCommand(Document*, const String& text, PassRefPtr<TextInsertionMarkerSupplier>);
|
| + InsertTextCommand(Document&, const String& text, bool selectInsertedText, RebalanceType);
|
| + InsertTextCommand(Document&, const String& text, PassRefPtr<TextInsertionMarkerSupplier>);
|
|
|
| void deleteCharacter();
|
|
|
|
|