Index: Source/core/editing/SplitTextNodeContainingElementCommand.cpp |
diff --git a/Source/core/editing/SplitTextNodeContainingElementCommand.cpp b/Source/core/editing/SplitTextNodeContainingElementCommand.cpp |
index a29ef84c75a5c6e42601bc5a58c4f2e63ee42fff..6983f1ce3ed0582bd434419bfbbfab8a19a50069 100644 |
--- a/Source/core/editing/SplitTextNodeContainingElementCommand.cpp |
+++ b/Source/core/editing/SplitTextNodeContainingElementCommand.cpp |
@@ -34,7 +34,7 @@ |
namespace WebCore { |
SplitTextNodeContainingElementCommand::SplitTextNodeContainingElementCommand(PassRefPtr<Text> text, int offset) |
- : CompositeEditCommand(text->document()), m_text(text), m_offset(offset) |
+ : CompositeEditCommand(&text->document()), m_text(text), m_offset(offset) |
{ |
ASSERT(m_text); |
ASSERT(m_text->length() > 0); |