Index: Source/core/editing/InsertIntoTextNodeCommand.cpp |
diff --git a/Source/core/editing/InsertIntoTextNodeCommand.cpp b/Source/core/editing/InsertIntoTextNodeCommand.cpp |
index cf6ffd2a0abda45fb9e7e828f52138c474b7a317..906274bd87db1540da41d35ee7bd04dac3de69fd 100644 |
--- a/Source/core/editing/InsertIntoTextNodeCommand.cpp |
+++ b/Source/core/editing/InsertIntoTextNodeCommand.cpp |
@@ -60,7 +60,7 @@ void InsertIntoTextNodeCommand::doApply() |
renderText->momentarilyRevealLastTypedCharacter(m_offset + m_text.length() - 1); |
} |
- m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION, DeprecatedAttachNow); |
+ m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing); |
} |
void InsertIntoTextNodeCommand::doUnapply() |
@@ -68,7 +68,7 @@ void InsertIntoTextNodeCommand::doUnapply() |
if (!m_node->rendererIsEditable()) |
return; |
- m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION, DeprecatedAttachNow); |
+ m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing); |
} |
} // namespace WebCore |