summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/editing/DeleteFromTextNodeCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/editing/DeleteFromTextNodeCommand.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/editing/DeleteFromTextNodeCommand.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/editing/DeleteFromTextNodeCommand.h b/chromium/third_party/WebKit/Source/core/editing/DeleteFromTextNodeCommand.h
index 192e8a90650..11027e25627 100644
--- a/chromium/third_party/WebKit/Source/core/editing/DeleteFromTextNodeCommand.h
+++ b/chromium/third_party/WebKit/Source/core/editing/DeleteFromTextNodeCommand.h
@@ -32,20 +32,22 @@ namespace WebCore {
class Text;
-class DeleteFromTextNodeCommand : public SimpleEditCommand {
+class DeleteFromTextNodeCommand FINAL : public SimpleEditCommand {
public:
- static PassRefPtr<DeleteFromTextNodeCommand> create(PassRefPtr<Text> node, unsigned offset, unsigned count)
+ static PassRefPtrWillBeRawPtr<DeleteFromTextNodeCommand> create(PassRefPtrWillBeRawPtr<Text> node, unsigned offset, unsigned count)
{
- return adoptRef(new DeleteFromTextNodeCommand(node, offset, count));
+ return adoptRefWillBeNoop(new DeleteFromTextNodeCommand(node, offset, count));
}
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
- DeleteFromTextNodeCommand(PassRefPtr<Text>, unsigned offset, unsigned count);
+ DeleteFromTextNodeCommand(PassRefPtrWillBeRawPtr<Text>, unsigned offset, unsigned count);
virtual void doApply() OVERRIDE;
virtual void doUnapply() OVERRIDE;
- RefPtr<Text> m_node;
+ RefPtrWillBeMember<Text> m_node;
unsigned m_offset;
unsigned m_count;
String m_text;