| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index abf2c4ba616bd77200cd0081953606eee4bf83ef..c1a6aae93108c806125dc9b2725e7b48ed6e6b92 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -76,7 +76,6 @@
|
| #include "core/frame/EventHandlerRegistry.h"
|
| #include "core/frame/LocalDOMWindow.h"
|
| #include "core/frame/LocalFrame.h"
|
| -#include "core/frame/Settings.h"
|
| #include "core/html/HTMLDialogElement.h"
|
| #include "core/html/HTMLFrameOwnerElement.h"
|
| #include "core/input/EventHandler.h"
|
| @@ -332,9 +331,6 @@ void Node::willBeDeletedFromDocument()
|
| if (document.frameHost())
|
| document.frameHost()->eventHandlerRegistry().didRemoveAllEventHandlers(*this);
|
|
|
| - if (AXObjectCache* cache = document.existingAXObjectCache())
|
| - cache->remove(this);
|
| -
|
| document.markers().removeMarkers(this);
|
| }
|
| #endif
|
| @@ -1806,12 +1802,6 @@ void Node::didMoveToNewDocument(Document& oldDocument)
|
| }
|
| }
|
|
|
| - Settings* settings = document().settings();
|
| - if (settings && settings->accessibilityEnabled()) {
|
| - if (AXObjectCache* cache = oldDocument.existingAXObjectCache())
|
| - cache->remove(this);
|
| - }
|
| -
|
| oldDocument.markers().removeMarkers(this);
|
| oldDocument.updateRangesAfterNodeMovedToAnotherDocument(*this);
|
| if (oldDocument.frameHost() && !document().frameHost())
|
|
|