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

Unified Diff: ui/events/gesture_detection/gesture_detector.cc

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 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
Index: ui/events/gesture_detection/gesture_detector.cc
diff --git a/ui/events/gesture_detection/gesture_detector.cc b/ui/events/gesture_detection/gesture_detector.cc
index 4180eb3338085423cc09ae1549493f58e06c26a6..7ea0a3e0c7204a1ac259a46647e9067871df6030 100644
--- a/ui/events/gesture_detection/gesture_detector.cc
+++ b/ui/events/gesture_detection/gesture_detector.cc
@@ -103,7 +103,7 @@ class GestureDetector::TimeoutGestureHandler {
typedef void (GestureDetector::*ReceiverMethod)();
GestureDetector* const gesture_detector_;
- base::OneShotTimer<GestureDetector> timeout_timers_[TIMEOUT_EVENT_COUNT];
+ base::OneShotTimer timeout_timers_[TIMEOUT_EVENT_COUNT];
ReceiverMethod timeout_callbacks_[TIMEOUT_EVENT_COUNT];
base::TimeDelta timeout_delays_[TIMEOUT_EVENT_COUNT];
};
« no previous file with comments | « ui/display/chromeos/display_configurator.h ('k') | ui/events/ozone/evdev/libgestures_glue/gesture_timer_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698