Index: Source/core/editing/InsertListCommand.h |
diff --git a/Source/core/editing/InsertListCommand.h b/Source/core/editing/InsertListCommand.h |
index 13526e1f4651cce8449e07ba26ff0e3fc2ee5cdd..80933b253d2f1f57ac7487dfecdc3d13bd112c1e 100644 |
--- a/Source/core/editing/InsertListCommand.h |
+++ b/Source/core/editing/InsertListCommand.h |
@@ -36,17 +36,17 @@ class InsertListCommand : public CompositeEditCommand { |
public: |
enum Type { OrderedList, UnorderedList }; |
- static PassRefPtr<InsertListCommand> create(Document* document, Type listType) |
+ static PassRefPtr<InsertListCommand> create(Document& document, Type listType) |
{ |
return adoptRef(new InsertListCommand(document, listType)); |
} |
- static PassRefPtr<HTMLElement> insertList(Document*, Type); |
+ static PassRefPtr<HTMLElement> insertList(Document&, Type); |
virtual bool preservesTypingStyle() const { return true; } |
private: |
- InsertListCommand(Document*, Type); |
+ InsertListCommand(Document&, Type); |
virtual void doApply(); |
virtual EditAction editingAction() const { return EditActionInsertList; } |