| Index: Source/core/editing/InsertNodeBeforeCommand.cpp
|
| diff --git a/Source/core/editing/InsertNodeBeforeCommand.cpp b/Source/core/editing/InsertNodeBeforeCommand.cpp
|
| index 42553f5b80da582fa22667a5457393f470695801..691aba7ffa988152a37f420d29b6522587487828 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_STATE, AttachLazily);
|
| -
|
| - 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_STATE);
|
| }
|
|
|
|
|