Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: Source/core/events/WheelEvent.cpp

Issue 26434002: Cleanup: Add more conversion helpers for usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to ToT. Patch for landing. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698