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

Unified Diff: ui/gl/angle_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 | « ui/events/latency_info.cc ('k') | ui/gl/gpu_timing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/angle_platform_impl.cc
diff --git a/ui/gl/angle_platform_impl.cc b/ui/gl/angle_platform_impl.cc
index 4f979cac8ecb23f1e3f5b1b9c97a7e0efbe697e8..d87f7610170679b87a2238f60f9a4a20468b3434 100644
--- a/ui/gl/angle_platform_impl.cc
+++ b/ui/gl/angle_platform_impl.cc
@@ -21,7 +21,7 @@ double ANGLEPlatformImpl::currentTime() {
}
double ANGLEPlatformImpl::monotonicallyIncreasingTime() {
- return (base::TraceTicks::Now() - base::TraceTicks()).InSecondsF();
+ return (base::TimeTicks::Now() - base::TimeTicks()).InSecondsF();
}
const unsigned char* ANGLEPlatformImpl::getTraceCategoryEnabledFlag(
@@ -48,8 +48,8 @@ angle::Platform::TraceEventHandle ANGLEPlatformImpl::addTraceEvent(
const unsigned char* arg_types,
const unsigned long long* arg_values,
unsigned char flags) {
- 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,
« no previous file with comments | « ui/events/latency_info.cc ('k') | ui/gl/gpu_timing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698