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

Unified Diff: ui/events/mojo/input_events_type_converters.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: merge master 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/mojo/input_events_type_converters.cc
diff --git a/ui/events/mojo/input_events_type_converters.cc b/ui/events/mojo/input_events_type_converters.cc
index 15ad403a3c07df93892691ec5c7ceb78a9b46fe4..0ef653ba3848dfa952652b4ecf8737ddf877a04b 100644
--- a/ui/events/mojo/input_events_type_converters.cc
+++ b/ui/events/mojo/input_events_type_converters.cc
@@ -382,7 +382,7 @@ TypeConverter<std::unique_ptr<ui::Event>, mus::mojom::EventPtr>::Convert(
std::unique_ptr<ui::TouchEvent> touch_event(new ui::TouchEvent(
MojoTouchEventTypeToUIEvent(input), gfx::Point(),
ui::EventFlags(input->flags), input->pointer_data->pointer_id,
- base::TimeDelta::FromInternalValue(input->time_stamp),
+ base::TimeTicks::FromInternalValue(input->time_stamp),
input->pointer_data->brush_data->width,
input->pointer_data->brush_data->height, 0,
input->pointer_data->brush_data->pressure));

Powered by Google App Engine
This is Rietveld 408576698