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

Unified Diff: ui/events/win/events_win.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: Fix gesture recognizer tests Created 4 years, 7 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/win/events_win.cc
diff --git a/ui/events/win/events_win.cc b/ui/events/win/events_win.cc
index cd8dbc72c99e12385a6f6bfe9df9a79b865bdd8d..211a0e9a0147fbfc64f2d2890486ea5220c90972 100644
--- a/ui/events/win/events_win.cc
+++ b/ui/events/win/events_win.cc
@@ -212,7 +212,7 @@ int EventFlagsFromNative(const base::NativeEvent& native_event) {
return flags;
}
-base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) {
+base::TimeTicks EventTimeFromNative(const base::NativeEvent& native_event) {
// On Windows, the native input event timestamp (|native_event.time|) is
// coming from |GetTickCount()| clock [1], while in platform independent code
// path we get timestamps by calling |TimeTicks::Now()|, which, if using high-

Powered by Google App Engine
This is Rietveld 408576698