Index: Source/core/editing/CreateLinkCommand.h |
diff --git a/Source/core/editing/CreateLinkCommand.h b/Source/core/editing/CreateLinkCommand.h |
index cfe9c99336e14a8a4e805bd42569dbf758cb7775..af489feb7e01eaefece19e4c27b0cf17dd498090 100644 |
--- a/Source/core/editing/CreateLinkCommand.h |
+++ b/Source/core/editing/CreateLinkCommand.h |
@@ -32,7 +32,7 @@ namespace WebCore { |
class CreateLinkCommand : public CompositeEditCommand { |
public: |
- static PassRefPtr<CreateLinkCommand> create(Document* document, const String& linkURL) |
+ static PassRefPtr<CreateLinkCommand> create(Document& document, const String& linkURL) |
{ |
return adoptRef(new CreateLinkCommand(document, linkURL)); |
} |
@@ -40,7 +40,7 @@ public: |
bool isCreateLinkCommand() const { return true; } |
private: |
- CreateLinkCommand(Document*, const String& linkURL); |
+ CreateLinkCommand(Document&, const String& linkURL); |
virtual void doApply(); |
virtual EditAction editingAction() const { return EditActionCreateLink; } |