| Index: Source/core/editing/InsertIntoTextNodeCommand.cpp
|
| diff --git a/Source/core/editing/InsertIntoTextNodeCommand.cpp b/Source/core/editing/InsertIntoTextNodeCommand.cpp
|
| index 4e1845f935e4685edc4986c0f66e2b910d986d00..75a68b5f66c23ccfa942eb552e7f81bfdcc51e33 100644
|
| --- a/Source/core/editing/InsertIntoTextNodeCommand.cpp
|
| +++ b/Source/core/editing/InsertIntoTextNodeCommand.cpp
|
| @@ -61,7 +61,7 @@ void InsertIntoTextNodeCommand::doApply()
|
| renderText->momentarilyRevealLastTypedCharacter(m_offset + m_text.length() - 1);
|
| }
|
|
|
| - m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION_STATE);
|
| + m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION);
|
|
|
| if (AXObjectCache* cache = document()->existingAXObjectCache())
|
| cache->nodeTextChangeNotification(m_node.get(), AXObjectCache::AXTextInserted, m_offset, m_text);
|
| @@ -76,7 +76,7 @@ void InsertIntoTextNodeCommand::doUnapply()
|
| if (AXObjectCache* cache = document()->existingAXObjectCache())
|
| cache->nodeTextChangeNotification(m_node.get(), AXObjectCache::AXTextDeleted, m_offset, m_text);
|
|
|
| - m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION_STATE);
|
| + m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION);
|
| }
|
|
|
| #ifndef NDEBUG
|
|
|