| Index: Source/core/editing/InsertNodeBeforeCommand.cpp
|
| diff --git a/Source/core/editing/InsertNodeBeforeCommand.cpp b/Source/core/editing/InsertNodeBeforeCommand.cpp
|
| index f2ba9b24da9a14652a07e2fcfebe13f4f3139cef..f6872e7dca64f166c1dcea54bd4ef740258de825 100644
|
| --- a/Source/core/editing/InsertNodeBeforeCommand.cpp
|
| +++ b/Source/core/editing/InsertNodeBeforeCommand.cpp
|
| @@ -27,7 +27,6 @@
|
| #include "core/editing/InsertNodeBeforeCommand.h"
|
|
|
| #include "bindings/v8/ExceptionStatePlaceholder.h"
|
| -#include "core/accessibility/AXObjectCache.h"
|
| #include "core/dom/Document.h"
|
|
|
| namespace WebCore {
|
| @@ -55,9 +54,6 @@ void InsertNodeBeforeCommand::doApply()
|
| ASSERT(parent->isContentEditable(Node::UserSelectAllIsAlwaysNonEditable));
|
|
|
| parent->insertBefore(m_insertChild.get(), m_refChild.get(), IGNORE_EXCEPTION);
|
| -
|
| - if (AXObjectCache* cache = document()->existingAXObjectCache())
|
| - cache->nodeTextChangeNotification(m_insertChild.get(), AXObjectCache::AXTextInserted, 0, m_insertChild->nodeValue());
|
| }
|
|
|
| void InsertNodeBeforeCommand::doUnapply()
|
| @@ -65,10 +61,6 @@ void InsertNodeBeforeCommand::doUnapply()
|
| if (!m_insertChild->isContentEditable(Node::UserSelectAllIsAlwaysNonEditable))
|
| return;
|
|
|
| - // Need to notify this before actually deleting the text
|
| - if (AXObjectCache* cache = document()->existingAXObjectCache())
|
| - cache->nodeTextChangeNotification(m_insertChild.get(), AXObjectCache::AXTextDeleted, 0, m_insertChild->nodeValue());
|
| -
|
| m_insertChild->remove(IGNORE_EXCEPTION);
|
| }
|
|
|
|
|