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

Unified Diff: content/browser/tracing/trace_message_filter.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 | « content/browser/tracing/etw_system_event_consumer_win.cc ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tracing/trace_message_filter.cc
diff --git a/content/browser/tracing/trace_message_filter.cc b/content/browser/tracing/trace_message_filter.cc
index 98757279f363fe925dc1e7f056a5628b504afb93..5d37f5fea635be8ba253baa2470bcf7bcacd57cd 100644
--- a/content/browser/tracing/trace_message_filter.cc
+++ b/content/browser/tracing/trace_message_filter.cc
@@ -65,7 +65,7 @@ void TraceMessageFilter::SendBeginTracing(
const base::trace_event::TraceOptions& options) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
Send(new TracingMsg_BeginTracing(category_filter.ToString(),
- base::TimeTicks::NowFromSystemTraceTime(),
+ base::TraceTicks::Now(),
options.ToString()));
}
@@ -81,8 +81,8 @@ void TraceMessageFilter::SendEnableMonitoring(
const base::trace_event::TraceOptions& options) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
Send(new TracingMsg_EnableMonitoring(category_filter.ToString(),
- base::TimeTicks::NowFromSystemTraceTime(),
- options.ToString()));
+ base::TraceTicks::Now(),
+ options.ToString()));
}
void TraceMessageFilter::SendDisableMonitoring() {
« no previous file with comments | « content/browser/tracing/etw_system_event_consumer_win.cc ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698