Index: base/android/early_trace_event_binding.cc |
diff --git a/base/android/early_trace_event_binding.cc b/base/android/early_trace_event_binding.cc |
index 19e5d8d62987fe6da9ddd2e1470a1e55ae144014..5f876eaf6c79401f27d75bd10c3bfe93c8183902 100644 |
--- a/base/android/early_trace_event_binding.cc |
+++ b/base/android/early_trace_event_binding.cc |
@@ -32,10 +32,12 @@ static void RecordEarlyEvent(JNIEnv* env, |
INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( |
TRACE_EVENT_PHASE_BEGIN, kEarlyJavaCategory, name.c_str(), |
- trace_event_internal::kNoId, thread_id, begin_us, TRACE_EVENT_FLAG_COPY); |
+ trace_event_internal::kNoId, thread_id, |
+ TimeTicks::FromInternalValue(begin_us), TRACE_EVENT_FLAG_COPY); |
INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( |
TRACE_EVENT_PHASE_END, kEarlyJavaCategory, name.c_str(), |
- trace_event_internal::kNoId, thread_id, end_us, TRACE_EVENT_FLAG_COPY); |
+ trace_event_internal::kNoId, thread_id, |
+ TimeTicks::FromInternalValue(end_us), TRACE_EVENT_FLAG_COPY); |
} |
bool RegisterEarlyTraceEvent(JNIEnv* env) { |