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

Unified Diff: ash/touch/touch_hud_debug.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/system/toast/toast_manager_unittest.cc ('k') | ash/touch/touch_observer_hud_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_hud_debug.cc
diff --git a/ash/touch/touch_hud_debug.cc b/ash/touch/touch_hud_debug.cc
index 57b96560195ee0c2c32c848ec78d3ffb646e5eaa..4bd76a551edf4f7b35eb69650ef8e10c8362c832 100644
--- a/ash/touch/touch_hud_debug.cc
+++ b/ash/touch/touch_hud_debug.cc
@@ -96,7 +96,7 @@ struct TouchPointLog {
: id(touch.touch_id()),
type(touch.type()),
location(touch.root_location()),
- timestamp(touch.time_stamp().InMillisecondsF()),
+ timestamp((touch.time_stamp() - base::TimeTicks()).InMillisecondsF()),
radius_x(touch.pointer_details().radius_x),
radius_y(touch.pointer_details().radius_y),
pressure(touch.pointer_details().force),
« no previous file with comments | « ash/system/toast/toast_manager_unittest.cc ('k') | ash/touch/touch_observer_hud_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698