diff options
Diffstat (limited to 'WebCore/editing/SplitTextNodeCommand.cpp')
-rw-r--r-- | WebCore/editing/SplitTextNodeCommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/editing/SplitTextNodeCommand.cpp b/WebCore/editing/SplitTextNodeCommand.cpp index 9a7e3b3..1f38902 100644 --- a/WebCore/editing/SplitTextNodeCommand.cpp +++ b/WebCore/editing/SplitTextNodeCommand.cpp @@ -60,7 +60,7 @@ void SplitTextNodeCommand::doApply() m_text1 = Text::create(document(), prefixText); ASSERT(m_text1); - document()->copyMarkers(m_text2.get(), 0, m_offset, m_text1.get(), 0); + document()->markers()->copyMarkers(m_text2.get(), 0, m_offset, m_text1.get(), 0); insertText1AndTrimText2(); } @@ -78,7 +78,7 @@ void SplitTextNodeCommand::doUnapply() m_text2->insertData(0, prefixText, ec); ASSERT(!ec); - document()->copyMarkers(m_text1.get(), 0, prefixText.length(), m_text2.get(), 0); + document()->markers()->copyMarkers(m_text1.get(), 0, prefixText.length(), m_text2.get(), 0); m_text1->remove(ec); } |