Index: Source/core/editing/ReplaceNodeWithSpanCommand.cpp |
diff --git a/Source/core/editing/ReplaceNodeWithSpanCommand.cpp b/Source/core/editing/ReplaceNodeWithSpanCommand.cpp |
index 64f0256b72360123bb7f2f988f1a2f7cc7a16e68..e3e1dbf929f3d9079e522f8a76f5cf5ed3579379 100644 |
--- a/Source/core/editing/ReplaceNodeWithSpanCommand.cpp |
+++ b/Source/core/editing/ReplaceNodeWithSpanCommand.cpp |
@@ -42,7 +42,7 @@ namespace WebCore { |
using namespace HTMLNames; |
ReplaceNodeWithSpanCommand::ReplaceNodeWithSpanCommand(PassRefPtr<HTMLElement> element) |
- : SimpleEditCommand(&element->document()) |
+ : SimpleEditCommand(element->document()) |
, m_elementToReplace(element) |
{ |
ASSERT(m_elementToReplace); |