Index: Source/core/editing/DeleteFromTextNodeCommand.cpp |
diff --git a/Source/core/editing/DeleteFromTextNodeCommand.cpp b/Source/core/editing/DeleteFromTextNodeCommand.cpp |
index 97bf22b456ebbd13a43cb03ef1314cb92807b5e0..b4c03bfb58dd0e9d8fc9e25ecfe2e921bb664103 100644 |
--- a/Source/core/editing/DeleteFromTextNodeCommand.cpp |
+++ b/Source/core/editing/DeleteFromTextNodeCommand.cpp |
@@ -27,7 +27,6 @@ |
#include "core/editing/DeleteFromTextNodeCommand.h" |
#include "bindings/v8/ExceptionStatePlaceholder.h" |
-#include "core/accessibility/AXObjectCache.h" |
#include "core/dom/Document.h" |
#include "core/dom/Text.h" |
@@ -56,10 +55,6 @@ void DeleteFromTextNodeCommand::doApply() |
if (es.hadException()) |
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_count, es); |
} |
@@ -71,9 +66,6 @@ void DeleteFromTextNodeCommand::doUnapply() |
return; |
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); |
} |
#ifndef NDEBUG |