Index: Source/core/editing/RemoveNodePreservingChildrenCommand.h |
diff --git a/Source/core/editing/RemoveNodePreservingChildrenCommand.h b/Source/core/editing/RemoveNodePreservingChildrenCommand.h |
index 7ad1b9efaf542a94fb1e23d948577626c8087db8..1498be24fcb62e26151055c654f24afa9f87497f 100644 |
--- a/Source/core/editing/RemoveNodePreservingChildrenCommand.h |
+++ b/Source/core/editing/RemoveNodePreservingChildrenCommand.h |
@@ -32,17 +32,19 @@ namespace WebCore { |
class RemoveNodePreservingChildrenCommand FINAL : public CompositeEditCommand { |
public: |
- static PassRefPtr<RemoveNodePreservingChildrenCommand> create(PassRefPtr<Node> node, ShouldAssumeContentIsAlwaysEditable shouldAssumeContentIsAlwaysEditable) |
+ static PassRefPtrWillBeRawPtr<RemoveNodePreservingChildrenCommand> create(PassRefPtrWillBeRawPtr<Node> node, ShouldAssumeContentIsAlwaysEditable shouldAssumeContentIsAlwaysEditable) |
{ |
- return adoptRef(new RemoveNodePreservingChildrenCommand(node, shouldAssumeContentIsAlwaysEditable)); |
+ return adoptRefWillBeNoop(new RemoveNodePreservingChildrenCommand(node, shouldAssumeContentIsAlwaysEditable)); |
} |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
- explicit RemoveNodePreservingChildrenCommand(PassRefPtr<Node>, ShouldAssumeContentIsAlwaysEditable); |
+ RemoveNodePreservingChildrenCommand(PassRefPtrWillBeRawPtr<Node>, ShouldAssumeContentIsAlwaysEditable); |
virtual void doApply() OVERRIDE; |
- RefPtr<Node> m_node; |
+ RefPtrWillBeMember<Node> m_node; |
ShouldAssumeContentIsAlwaysEditable m_shouldAssumeContentIsAlwaysEditable; |
}; |