| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index e2e44c35e4b1dd0aa0792e159b82472828d0e074..e21c71738bd817a829b5d6885e5b9894c196aae9 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -330,10 +330,11 @@ void Node::willBeDeletedFromDocument()
|
| if (hasEventTargetData()) {
|
| clearEventTargetData();
|
| document.didClearTouchEventHandlers(this);
|
| - if (document.frameHost())
|
| - document.frameHost()->eventHandlerRegistry().didRemoveAllEventHandlers(*this);
|
| }
|
|
|
| + if (document.frameHost())
|
| + document.frameHost()->eventHandlerRegistry().didRemoveAllEventHandlers(*this);
|
| +
|
| if (AXObjectCache* cache = document.existingAXObjectCache())
|
| cache->remove(this);
|
|
|
|
|