Index: Source/core/events/WheelEvent.cpp |
diff --git a/Source/core/events/WheelEvent.cpp b/Source/core/events/WheelEvent.cpp |
index 9ed53ae237a64ddd50e932bd419e25bec1f1cb09..05c6a569aa9f2d9d9395174f81079ea857afd9f0 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 |