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

Unified Diff: ui/events/ozone/evdev/tablet_event_converter_evdev.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
Index: ui/events/ozone/evdev/tablet_event_converter_evdev.cc
diff --git a/ui/events/ozone/evdev/tablet_event_converter_evdev.cc b/ui/events/ozone/evdev/tablet_event_converter_evdev.cc
index a8a3c237c1cb835906901f9a5b5d704a6df2cd48..e62dff4d7eb53b0d1834f940e581b889642a82c2 100644
--- a/ui/events/ozone/evdev/tablet_event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/tablet_event_converter_evdev.cc
@@ -183,7 +183,7 @@ void TabletEventConverterEvdev::DispatchMouseButton(const input_event& input) {
PointerDetails(EventPointerType::POINTER_TYPE_PEN,
/* radius_x */ 0.0f, /* radius_y */ 0.0f, pressure_,
tilt_x_, tilt_y_),
- TimeDeltaFromInputEvent(input)));
+ TimeTicksFromInputEvent(input)));
}
void TabletEventConverterEvdev::FlushEvents(const input_event& input) {
@@ -206,7 +206,7 @@ void TabletEventConverterEvdev::FlushEvents(const input_event& input) {
PointerDetails(EventPointerType::POINTER_TYPE_PEN,
/* radius_x */ 0.0f, /* radius_y */ 0.0f, pressure_,
tilt_x_, tilt_y_),
- TimeDeltaFromInputEvent(input)));
+ TimeTicksFromInputEvent(input)));
abs_value_dirty_ = false;
}

Powered by Google App Engine
This is Rietveld 408576698