| 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 698b0e56cac6605c37bb896e57f55a901fadebdf..510a7d6c695ac9991a47ace81bba18d370622000 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() override;
|
| EditAction editingAction() const override;
|
|
|