Index: Source/core/editing/InsertListCommand.h |
diff --git a/Source/core/editing/InsertListCommand.h b/Source/core/editing/InsertListCommand.h |
index 599b8daa501229b185a99a503add481daf31a4c3..23f1f9c13acac0550156a388555235a15e037678 100644 |
--- a/Source/core/editing/InsertListCommand.h |
+++ b/Source/core/editing/InsertListCommand.h |
@@ -36,13 +36,15 @@ class InsertListCommand FINAL : public CompositeEditCommand { |
public: |
enum Type { OrderedList, UnorderedList }; |
- static PassRefPtr<InsertListCommand> create(Document& document, Type listType) |
+ static PassRefPtrWillBeRawPtr<InsertListCommand> create(Document& document, Type listType) |
{ |
- return adoptRef(new InsertListCommand(document, listType)); |
+ return adoptRefWillBeNoop(new InsertListCommand(document, listType)); |
} |
virtual bool preservesTypingStyle() const OVERRIDE { return true; } |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
InsertListCommand(Document&, Type); |
@@ -55,7 +57,8 @@ private: |
void doApplyForSingleParagraph(bool forceCreateList, const QualifiedName&, Range& currentSelection); |
void unlistifyParagraph(const VisiblePosition& originalStart, HTMLElement* listNode, Node* listChildNode); |
PassRefPtrWillBeRawPtr<HTMLElement> listifyParagraph(const VisiblePosition& originalStart, const QualifiedName& listTag); |
- RefPtrWillBePersistent<HTMLElement> m_listElement; |
+ |
+ RefPtrWillBeMember<HTMLElement> m_listElement; |
Type m_type; |
}; |