Index: Source/core/dom/TouchEvent.cpp |
diff --git a/Source/core/dom/TouchEvent.cpp b/Source/core/dom/TouchEvent.cpp |
index 019a5b5ac8f0523fd17f85532fa215ae4401b729..a5c45dcf5fcc2b8d8c7278e0cf10b718263af519 100644 |
--- a/Source/core/dom/TouchEvent.cpp |
+++ b/Source/core/dom/TouchEvent.cpp |
@@ -102,7 +102,7 @@ TouchEventDispatchMediator::TouchEventDispatchMediator(PassRefPtr<TouchEvent> to |
TouchEvent* TouchEventDispatchMediator::event() const |
{ |
- return static_cast<TouchEvent*>(EventDispatchMediator::event()); |
+ return toTouchEvent(EventDispatchMediator::event()); |
} |
bool TouchEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const |