Index: Source/WebCore/page/DOMWindow.cpp |
=================================================================== |
--- Source/WebCore/page/DOMWindow.cpp (revision 138206) |
+++ Source/WebCore/page/DOMWindow.cpp (working copy) |
@@ -1685,10 +1685,6 @@ |
if (DeviceOrientationController* controller = DeviceOrientationController::from(page())) |
controller->removeAllDeviceEventListeners(this); |
#endif |
-#if ENABLE(TOUCH_EVENTS) |
- if (Document* document = this->document()) |
- document->didRemoveEventTargetNode(document); |
-#endif |
removeAllUnloadEventListeners(this); |
removeAllBeforeUnloadEventListeners(this); |