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

Unified Diff: ash/keyboard_uma_event_filter.cc

Issue 1975533002: Change ui::Event::time_stamp from TimeDelta to TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 | « ash/keyboard_uma_event_filter.h ('k') | ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/keyboard_uma_event_filter.cc
diff --git a/ash/keyboard_uma_event_filter.cc b/ash/keyboard_uma_event_filter.cc
index f3864bf033f2fb3b27163d494222cf935565353c..12c9d69ac2c40756ead50c69bde771c2d082bbc1 100644
--- a/ash/keyboard_uma_event_filter.cc
+++ b/ash/keyboard_uma_event_filter.cc
@@ -30,7 +30,7 @@ void KeyboardUMAEventFilter::OnKeyEvent(ui::KeyEvent* event) {
// Reset the timer on non-character keystrokes.
if (!isprint(event->GetCharacter())) {
- last_keystroke_time_ = base::TimeDelta();
+ last_keystroke_time_ = base::TimeTicks();
return;
}
« no previous file with comments | « ash/keyboard_uma_event_filter.h ('k') | ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698