| Index: Source/core/editing/InsertIntoTextNodeCommand.cpp
|
| diff --git a/Source/core/editing/InsertIntoTextNodeCommand.cpp b/Source/core/editing/InsertIntoTextNodeCommand.cpp
|
| index 4e1845f935e4685edc4986c0f66e2b910d986d00..89bb6c2dc9a59eb0cc4b40f82ec06271f2fb8938 100644
|
| --- a/Source/core/editing/InsertIntoTextNodeCommand.cpp
|
| +++ b/Source/core/editing/InsertIntoTextNodeCommand.cpp
|
| @@ -27,7 +27,6 @@
|
| #include "core/editing/InsertIntoTextNodeCommand.h"
|
|
|
| #include "bindings/v8/ExceptionStatePlaceholder.h"
|
| -#include "core/accessibility/AXObjectCache.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/Text.h"
|
| #include "core/page/Settings.h"
|
| @@ -62,9 +61,6 @@ void InsertIntoTextNodeCommand::doApply()
|
| }
|
|
|
| m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION_STATE);
|
| -
|
| - if (AXObjectCache* cache = document()->existingAXObjectCache())
|
| - cache->nodeTextChangeNotification(m_node.get(), AXObjectCache::AXTextInserted, m_offset, m_text);
|
| }
|
|
|
| void InsertIntoTextNodeCommand::doUnapply()
|
| @@ -72,10 +68,6 @@ void InsertIntoTextNodeCommand::doUnapply()
|
| if (!m_node->rendererIsEditable())
|
| return;
|
|
|
| - // Need to notify this before actually deleting the text
|
| - 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);
|
| }
|
|
|
|
|