| Index: ui/events/latency_info.cc
|
| diff --git a/ui/events/latency_info.cc b/ui/events/latency_info.cc
|
| index 4ef3d9c6fb1e3ae53118085b6dd9517d9a1e7cbf..fcad232fa7d343fbdf6343b9de0ac8154a415c47 100644
|
| --- a/ui/events/latency_info.cc
|
| +++ b/ui/events/latency_info.cc
|
| @@ -243,16 +243,16 @@ void LatencyInfo::AddLatencyNumberWithTimestampImpl(
|
| // originally created, e.g. the timestamp of its ORIGINAL/UI_COMPONENT,
|
| // not when we actually issue the ASYNC_BEGIN trace event.
|
| LatencyComponent begin_component;
|
| - int64_t ts = 0;
|
| + base::TimeTicks ts;
|
| if (FindLatency(INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT,
|
| 0,
|
| &begin_component) ||
|
| FindLatency(INPUT_EVENT_LATENCY_UI_COMPONENT,
|
| 0,
|
| &begin_component)) {
|
| - ts = begin_component.event_time.ToInternalValue();
|
| + ts = begin_component.event_time;
|
| } else {
|
| - ts = base::TimeTicks::Now().ToInternalValue();
|
| + ts = base::TimeTicks::Now();
|
| }
|
|
|
| if (trace_name_str) {
|
|
|