Index: Source/core/editing/TypingCommand.h |
diff --git a/Source/core/editing/TypingCommand.h b/Source/core/editing/TypingCommand.h |
index 80117c4ea1d0b73fbd67570f0f748bbad15e13f8..47929e074d91d00b65d3554f95256efbf7d53084 100644 |
--- a/Source/core/editing/TypingCommand.h |
+++ b/Source/core/editing/TypingCommand.h |
@@ -78,14 +78,14 @@ public: |
void setCompositionType(TextCompositionType type) { m_compositionType = type; } |
private: |
- static PassRefPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity) |
+ static PassRefPtrWillBeRawPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity) |
{ |
- return adoptRef(new TypingCommand(document, command, text, options, granularity, TextCompositionNone)); |
+ return adoptRefWillBeNoop(new TypingCommand(document, command, text, options, granularity, TextCompositionNone)); |
} |
- static PassRefPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text, Options options, TextCompositionType compositionType) |
+ static PassRefPtrWillBeRawPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text, Options options, TextCompositionType compositionType) |
{ |
- return adoptRef(new TypingCommand(document, command, text, options, CharacterGranularity, compositionType)); |
+ return adoptRefWillBeNoop(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 PassRefPtr<TypingCommand> lastTypingCommandIfStillOpenForTyping(LocalFrame*); |
+ static PassRefPtrWillBeRawPtr<TypingCommand> lastTypingCommandIfStillOpenForTyping(LocalFrame*); |
virtual void doApply() OVERRIDE; |
virtual EditAction editingAction() const OVERRIDE; |