Index: Source/core/events/WheelEvent.cpp |
diff --git a/Source/core/events/WheelEvent.cpp b/Source/core/events/WheelEvent.cpp |
index 22bf6dcef42481fc5bf38b362bd785318c0b4023..1696c12cd793b4c6ec5c642c20228f1f68f9f4f9 100644 |
--- a/Source/core/events/WheelEvent.cpp |
+++ b/Source/core/events/WheelEvent.cpp |
@@ -148,7 +148,7 @@ WheelEventDispatchMediator::WheelEventDispatchMediator(const PlatformWheelEvent& |
WheelEvent* WheelEventDispatchMediator::event() const |
{ |
- return static_cast<WheelEvent*>(EventDispatchMediator::event()); |
+ return toWheelEvent(EventDispatchMediator::event()); |
} |
bool WheelEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const |