summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/Node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/Node.cpp')
-rw-r--r--WebCore/dom/Node.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/dom/Node.cpp b/WebCore/dom/Node.cpp
index 92b42fe..5694dfe 100644
--- a/WebCore/dom/Node.cpp
+++ b/WebCore/dom/Node.cpp
@@ -25,11 +25,15 @@
#include "config.h"
#include "Node.h"
+<<<<<<< HEAD
#ifdef ANDROID_DOM_LOGGING
#define LOG_TAG "webcore"
#include "AndroidLog.h"
#endif
+=======
+#include "AXObjectCache.h"
+>>>>>>> webkit.org at r68651
#include "Attr.h"
#include "Attribute.h"
#include "CSSParser.h"
@@ -386,6 +390,9 @@ Node::~Node()
if (renderer())
detach();
+ if (AXObjectCache::accessibilityEnabled() && m_document && m_document->axObjectCacheExists())
+ m_document->axObjectCache()->removeNodeForUse(this);
+
if (m_previous)
m_previous->setNextSibling(0);
if (m_next)