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

Unified Diff: content/child/blink_platform_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 | « content/browser/tracing/trace_message_filter.cc ('k') | content/renderer/devtools/v8_sampling_profiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index c885851418ffe27144337e4cc6beb8e925b8ebc8..7f99386b21206522a64ba9688703b37b50e1aa79 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -651,8 +651,8 @@ blink::Platform::TraceEventHandle BlinkPlatformImpl::addTraceEvent(
}
}
}
- base::TraceTicks timestamp_tt =
- base::TraceTicks() + base::TimeDelta::FromSecondsD(timestamp);
+ base::TimeTicks timestamp_tt =
+ base::TimeTicks() + base::TimeDelta::FromSecondsD(timestamp);
base::trace_event::TraceEventHandle handle =
TRACE_EVENT_API_ADD_TRACE_EVENT_WITH_THREAD_ID_AND_TIMESTAMP(
phase, category_group_enabled, name, id, trace_event_internal::kNoId,
@@ -687,8 +687,8 @@ blink::Platform::TraceEventHandle BlinkPlatformImpl::addTraceEvent(
}
}
}
- base::TraceTicks timestamp_tt =
- base::TraceTicks() + base::TimeDelta::FromSecondsD(timestamp);
+ base::TimeTicks timestamp_tt =
+ base::TimeTicks() + base::TimeDelta::FromSecondsD(timestamp);
base::trace_event::TraceEventHandle handle =
TRACE_EVENT_API_ADD_TRACE_EVENT_WITH_THREAD_ID_AND_TIMESTAMP(
phase, category_group_enabled, name, id, trace_event_internal::kNoId,
@@ -1084,7 +1084,7 @@ double BlinkPlatformImpl::monotonicallyIncreasingTime() {
}
double BlinkPlatformImpl::systemTraceTime() {
- return (base::TraceTicks::Now() - base::TraceTicks()).InSecondsF();
+ return (base::TimeTicks::Now() - base::TimeTicks()).InSecondsF();
}
void BlinkPlatformImpl::cryptographicallyRandomValues(
« no previous file with comments | « content/browser/tracing/trace_message_filter.cc ('k') | content/renderer/devtools/v8_sampling_profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698