summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/editing/RemoveNodeCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/editing/RemoveNodeCommand.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/editing/RemoveNodeCommand.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/chromium/third_party/WebKit/Source/core/editing/RemoveNodeCommand.h b/chromium/third_party/WebKit/Source/core/editing/RemoveNodeCommand.h
index 5d15512c0c2..78aaa6ba5b1 100644
--- a/chromium/third_party/WebKit/Source/core/editing/RemoveNodeCommand.h
+++ b/chromium/third_party/WebKit/Source/core/editing/RemoveNodeCommand.h
@@ -30,22 +30,24 @@
namespace WebCore {
-class RemoveNodeCommand : public SimpleEditCommand {
+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;
};