| Index: third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| index 56120ab1647952448ae8b9c66603ab5f03dadc1e..4e6e07cd072c5de10c1c8b1d6cf580d39c7dc728 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| @@ -78,14 +78,14 @@ public:
|
| void setCompositionType(TextCompositionType type) { m_compositionType = type; }
|
|
|
| private:
|
| - static PassRefPtrWillBeRawPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity)
|
| + static RawPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity)
|
| {
|
| - return adoptRefWillBeNoop(new TypingCommand(document, command, text, options, granularity, TextCompositionNone));
|
| + return new TypingCommand(document, command, text, options, granularity, TextCompositionNone);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text, Options options, TextCompositionType compositionType)
|
| + static RawPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text, Options options, TextCompositionType compositionType)
|
| {
|
| - return adoptRefWillBeNoop(new TypingCommand(document, command, text, options, CharacterGranularity, compositionType));
|
| + return new TypingCommand(document, command, text, options, CharacterGranularity, compositionType);
|
| }
|
|
|
| TypingCommand(Document&, ETypingCommand, const String& text, Options, TextGranularity, TextCompositionType);
|
| @@ -94,7 +94,7 @@ private:
|
| bool isOpenForMoreTyping() const { return m_openForMoreTyping; }
|
| void closeTyping() { m_openForMoreTyping = false; }
|
|
|
| - static PassRefPtrWillBeRawPtr<TypingCommand> lastTypingCommandIfStillOpenForTyping(LocalFrame*);
|
| + static RawPtr<TypingCommand> lastTypingCommandIfStillOpenForTyping(LocalFrame*);
|
|
|
| void doApply(EditingState*) override;
|
| EditAction editingAction() const override;
|
|
|