| Index: Source/core/editing/SplitTextNodeCommand.cpp
|
| diff --git a/Source/core/editing/SplitTextNodeCommand.cpp b/Source/core/editing/SplitTextNodeCommand.cpp
|
| index f2dbb20b584daad5b2e6765b1c10dfc436b0a9ae..b28147bf918c011b4d9e308820812fc10f2135aa 100644
|
| --- a/Source/core/editing/SplitTextNodeCommand.cpp
|
| +++ b/Source/core/editing/SplitTextNodeCommand.cpp
|
| @@ -76,7 +76,7 @@ void SplitTextNodeCommand::doUnapply()
|
|
|
| String prefixText = m_text1->data();
|
|
|
| - m_text2->insertData(0, prefixText, ASSERT_NO_EXCEPTION, DeprecatedAttachNow);
|
| + m_text2->insertData(0, prefixText, ASSERT_NO_EXCEPTION, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing);
|
|
|
| document().markers()->copyMarkers(m_text1.get(), 0, prefixText.length(), m_text2.get(), 0);
|
| m_text1->remove(ASSERT_NO_EXCEPTION);
|
| @@ -100,7 +100,7 @@ void SplitTextNodeCommand::insertText1AndTrimText2()
|
| m_text2->parentNode()->insertBefore(m_text1.get(), m_text2.get(), es);
|
| if (es.hadException())
|
| return;
|
| - m_text2->deleteData(0, m_offset, es, DeprecatedAttachNow);
|
| + m_text2->deleteData(0, m_offset, es, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing);
|
| }
|
|
|
| } // namespace WebCore
|
|
|