Index: Source/core/editing/EditCommand.cpp |
diff --git a/Source/core/editing/EditCommand.cpp b/Source/core/editing/EditCommand.cpp |
index 6105101160257e2fb11885533a9e42f1f7be1cda..d3114b7db7c1e101e97b6c4bbc1be3d4a0425b27 100644 |
--- a/Source/core/editing/EditCommand.cpp |
+++ b/Source/core/editing/EditCommand.cpp |
@@ -34,8 +34,8 @@ |
namespace WebCore { |
-EditCommand::EditCommand(Document* document) |
- : m_document(document) |
+EditCommand::EditCommand(Document& document) |
+ : m_document(&document) |
, m_parent(0) |
{ |
ASSERT(m_document); |