| Index: Source/core/editing/SplitTextNodeCommand.cpp
|
| diff --git a/Source/core/editing/SplitTextNodeCommand.cpp b/Source/core/editing/SplitTextNodeCommand.cpp
|
| index 0a57ef77e98e4ca7d27ae656462611190bee22ea..7c25e9f5248f34bab89c3b01670c4d8feb3e1026 100644
|
| --- a/Source/core/editing/SplitTextNodeCommand.cpp
|
| +++ b/Source/core/editing/SplitTextNodeCommand.cpp
|
| @@ -36,7 +36,7 @@
|
| namespace WebCore {
|
|
|
| SplitTextNodeCommand::SplitTextNodeCommand(PassRefPtr<Text> text, int offset)
|
| - : SimpleEditCommand(text->document())
|
| + : SimpleEditCommand(&text->document())
|
| , m_text2(text)
|
| , m_offset(offset)
|
| {
|
| @@ -72,7 +72,7 @@ void SplitTextNodeCommand::doUnapply()
|
| if (!m_text1 || !m_text1->rendererIsEditable())
|
| return;
|
|
|
| - ASSERT(m_text1->document() == document());
|
| + ASSERT(&m_text1->document() == document());
|
|
|
| String prefixText = m_text1->data();
|
|
|
|
|