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

Unified Diff: ppapi/shared_impl/ppb_trace_event_impl.cc

Issue 1424703003: Kills TraceTicks, which was functionally the same as TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed win compile error. Created 5 years, 1 month 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') | ui/events/latency_info.cc » ('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 aabc4f255467f5da49147e8efa5efff077f4cbe8..db9260b4aceb3ad92959ec6afe69c64770027902 100644
--- a/ppapi/shared_impl/ppb_trace_event_impl.cc
+++ b/ppapi/shared_impl/ppb_trace_event_impl.cc
@@ -80,7 +80,7 @@ void TraceEventImpl::AddTraceEventWithThreadIdAndTimestamp(
id,
trace_event_internal::kNoId,
thread_id,
- base::TraceTicks::FromInternalValue(timestamp),
+ base::TimeTicks::FromInternalValue(timestamp),
num_args,
arg_names,
arg_types,
@@ -95,7 +95,7 @@ void TraceEventImpl::AddTraceEventWithThreadIdAndTimestamp(
// static
int64_t TraceEventImpl::Now() {
- return base::TraceTicks::Now().ToInternalValue();
+ return base::TimeTicks::Now().ToInternalValue();
}
// static
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | ui/events/latency_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698