Index: Source/core/editing/InsertTextCommand.h |
diff --git a/Source/core/editing/InsertTextCommand.h b/Source/core/editing/InsertTextCommand.h |
index 6356ff8b12ad1faa72ee64ba09fe6dc08fb6777c..3c282be1d92996b65609d7439c6275e0b18073bc 100644 |
--- a/Source/core/editing/InsertTextCommand.h |
+++ b/Source/core/editing/InsertTextCommand.h |
@@ -37,10 +37,10 @@ public: |
RebalanceAllWhitespaces |
}; |
- static PassRefPtr<InsertTextCommand> create(Document& document, const String& text, bool selectInsertedText = false, |
+ static PassRefPtrWillBeRawPtr<InsertTextCommand> create(Document& document, const String& text, bool selectInsertedText = false, |
RebalanceType rebalanceType = RebalanceLeadingAndTrailingWhitespaces) |
{ |
- return adoptRef(new InsertTextCommand(document, text, selectInsertedText, rebalanceType)); |
+ return adoptRefWillBeNoop(new InsertTextCommand(document, text, selectInsertedText, rebalanceType)); |
} |
private: |