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

Unified Diff: cc/debug/lap_timer.cc

Issue 864943002: Replaces instances of the deprecated TimeTicks::HighResNow() with TimeTicks::Now(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More changes based on review comments. Created 5 years, 11 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 | « base/time/time_win_unittest.cc ('k') | cc/debug/picture_record_benchmark.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/lap_timer.cc
diff --git a/cc/debug/lap_timer.cc b/cc/debug/lap_timer.cc
index 27aaf3499a9b2d6b156e1be9f2c28c845197c9d6..10d26f94f4de514b0094b464efeec0dddf7a37f1 100644
--- a/cc/debug/lap_timer.cc
+++ b/cc/debug/lap_timer.cc
@@ -11,9 +11,8 @@ namespace cc {
namespace {
base::TimeTicks Now() {
- return base::TimeTicks::IsThreadNowSupported()
- ? base::TimeTicks::ThreadNow()
- : base::TimeTicks::HighResNow();
+ return base::TimeTicks::IsThreadNowSupported() ? base::TimeTicks::ThreadNow()
+ : base::TimeTicks::Now();
}
} // namespace
« no previous file with comments | « base/time/time_win_unittest.cc ('k') | cc/debug/picture_record_benchmark.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698