| Index: Source/core/editing/RemoveNodeCommand.h
|
| diff --git a/Source/core/editing/RemoveNodeCommand.h b/Source/core/editing/RemoveNodeCommand.h
|
| index 31e9fe319c9ce78033da18cbc3eef98563fa85b8..78aaa6ba5b121db3a6b9f3e35a768d5c97972147 100644
|
| --- a/Source/core/editing/RemoveNodeCommand.h
|
| +++ b/Source/core/editing/RemoveNodeCommand.h
|
| @@ -32,20 +32,22 @@ namespace WebCore {
|
|
|
| class RemoveNodeCommand FINAL : public SimpleEditCommand {
|
| public:
|
| - static PassRefPtr<RemoveNodeCommand> create(PassRefPtr<Node> node, ShouldAssumeContentIsAlwaysEditable shouldAssumeContentIsAlwaysEditable)
|
| + static PassRefPtrWillBeRawPtr<RemoveNodeCommand> create(PassRefPtrWillBeRawPtr<Node> node, ShouldAssumeContentIsAlwaysEditable shouldAssumeContentIsAlwaysEditable)
|
| {
|
| - return adoptRef(new RemoveNodeCommand(node, shouldAssumeContentIsAlwaysEditable));
|
| + return adoptRefWillBeNoop(new RemoveNodeCommand(node, shouldAssumeContentIsAlwaysEditable));
|
| }
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| - explicit RemoveNodeCommand(PassRefPtr<Node>, ShouldAssumeContentIsAlwaysEditable);
|
| + explicit RemoveNodeCommand(PassRefPtrWillBeRawPtr<Node>, ShouldAssumeContentIsAlwaysEditable);
|
|
|
| virtual void doApply() OVERRIDE;
|
| virtual void doUnapply() OVERRIDE;
|
|
|
| - RefPtr<Node> m_node;
|
| - RefPtr<ContainerNode> m_parent;
|
| - RefPtr<Node> m_refChild;
|
| + RefPtrWillBeMember<Node> m_node;
|
| + RefPtrWillBeMember<ContainerNode> m_parent;
|
| + RefPtrWillBeMember<Node> m_refChild;
|
| ShouldAssumeContentIsAlwaysEditable m_shouldAssumeContentIsAlwaysEditable;
|
| };
|
|
|
|
|