Index: Source/core/events/WheelEvent.cpp |
diff --git a/Source/core/events/WheelEvent.cpp b/Source/core/events/WheelEvent.cpp |
index feafc1489ab5f35729344c467b4c520aeebe0cdc..0c23299b6fc5f0b87dffaeb22bb73653422d1b0f 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 |