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

Unified Diff: Source/core/dom/TouchEvent.cpp

Issue 24253004: Cleanup: Start using toFoo methods as part of newly adopted coding guideline. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « Source/core/dom/Position.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/TouchEvent.cpp
diff --git a/Source/core/dom/TouchEvent.cpp b/Source/core/dom/TouchEvent.cpp
index 019a5b5ac8f0523fd17f85532fa215ae4401b729..a5c45dcf5fcc2b8d8c7278e0cf10b718263af519 100644
--- a/Source/core/dom/TouchEvent.cpp
+++ b/Source/core/dom/TouchEvent.cpp
@@ -102,7 +102,7 @@ TouchEventDispatchMediator::TouchEventDispatchMediator(PassRefPtr<TouchEvent> to
TouchEvent* TouchEventDispatchMediator::event() const
{
- return static_cast<TouchEvent*>(EventDispatchMediator::event());
+ return toTouchEvent(EventDispatchMediator::event());
}
bool TouchEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const
« no previous file with comments | « Source/core/dom/Position.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698