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

Unified Diff: ppapi/shared_impl/ppb_trace_event_impl.cc

Issue 1122153002: Fixit: Fork base::TimeTicks --> TimeTicks + ThreadTicks + TraceTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FIXIT_timeclasses_1of2
Patch Set: REBASE after it passed CQ but did not commit to tree Created 5 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
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_trace_event_impl.cc
diff --git a/ppapi/shared_impl/ppb_trace_event_impl.cc b/ppapi/shared_impl/ppb_trace_event_impl.cc
index 1fc2bc3a3d6c6b78601e217f1a2f9571191807ea..cb349d499f83ef5a851ab2dc48d0df54a5cd062c 100644
--- a/ppapi/shared_impl/ppb_trace_event_impl.cc
+++ b/ppapi/shared_impl/ppb_trace_event_impl.cc
@@ -79,7 +79,7 @@ void TraceEventImpl::AddTraceEventWithThreadIdAndTimestamp(
name,
id,
thread_id,
- base::TimeTicks::FromInternalValue(timestamp),
+ base::TraceTicks::FromInternalValue(timestamp),
num_args,
arg_names,
arg_types,
@@ -94,7 +94,7 @@ void TraceEventImpl::AddTraceEventWithThreadIdAndTimestamp(
// static
int64_t TraceEventImpl::Now() {
- return base::TimeTicks::NowFromSystemTraceTime().ToInternalValue();
+ return base::TraceTicks::Now().ToInternalValue();
}
// static
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698