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

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: 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 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

Powered by Google App Engine
This is Rietveld 408576698