Index: Source/WebCore/page/DOMWindow.cpp |
=================================================================== |
--- Source/WebCore/page/DOMWindow.cpp (revision 138019) |
+++ Source/WebCore/page/DOMWindow.cpp (working copy) |
@@ -1582,7 +1582,7 @@ |
if (eventType == eventNames().mousewheelEvent) |
document->didAddWheelEventHandler(); |
else if (eventNames().isTouchEventType(eventType)) |
- document->didAddTouchEventHandler(document); |
+ document->didAddTouchEventHandler(); |
else if (eventType == eventNames().storageEvent) |
didAddStorageEventListener(this); |
} |
@@ -1613,7 +1613,7 @@ |
if (eventType == eventNames().mousewheelEvent) |
document->didRemoveWheelEventHandler(); |
else if (eventNames().isTouchEventType(eventType)) |
- document->didRemoveTouchEventHandler(document); |
+ document->didRemoveTouchEventHandler(); |
} |
if (eventType == eventNames().unloadEvent) |