| Index: Source/core/editing/InsertIntoTextNodeCommand.h
|
| diff --git a/Source/core/editing/InsertIntoTextNodeCommand.h b/Source/core/editing/InsertIntoTextNodeCommand.h
|
| index 894cbb3ecb407640d4e2503e31b0eb7247cef33b..9796dd3525fc7dbf053904bb74b27a8517aef53c 100644
|
| --- a/Source/core/editing/InsertIntoTextNodeCommand.h
|
| +++ b/Source/core/editing/InsertIntoTextNodeCommand.h
|
| @@ -34,18 +34,20 @@ class Text;
|
|
|
| class InsertIntoTextNodeCommand FINAL : public SimpleEditCommand {
|
| public:
|
| - static PassRefPtr<InsertIntoTextNodeCommand> create(PassRefPtrWillBeRawPtr<Text> node, unsigned offset, const String& text)
|
| + static PassRefPtrWillBeRawPtr<InsertIntoTextNodeCommand> create(PassRefPtrWillBeRawPtr<Text> node, unsigned offset, const String& text)
|
| {
|
| - return adoptRef(new InsertIntoTextNodeCommand(node, offset, text));
|
| + return adoptRefWillBeNoop(new InsertIntoTextNodeCommand(node, offset, text));
|
| }
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| InsertIntoTextNodeCommand(PassRefPtrWillBeRawPtr<Text> node, unsigned offset, const String& text);
|
|
|
| virtual void doApply() OVERRIDE;
|
| virtual void doUnapply() OVERRIDE;
|
|
|
| - RefPtrWillBePersistent<Text> m_node;
|
| + RefPtrWillBeMember<Text> m_node;
|
| unsigned m_offset;
|
| String m_text;
|
| };
|
|
|