Index: Source/WebCore/dom/Document.cpp |
=================================================================== |
--- Source/WebCore/dom/Document.cpp (revision 138268) |
+++ Source/WebCore/dom/Document.cpp (working copy) |
@@ -5659,6 +5659,9 @@ |
{ |
if (m_touchEventTargets.get()) |
m_touchEventTargets->removeAll(handler); |
+ if (handler == this) |
+ if (Document* parentDocument = this->parentDocument()) |
+ parentDocument->didRemoveEventTargetNode(this); |
} |
#endif |