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

Unified Diff: gpu/command_buffer/common/time.h

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: 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
Index: gpu/command_buffer/common/time.h
diff --git a/gpu/command_buffer/common/time.h b/gpu/command_buffer/common/time.h
index e4eb9422e7b7ba302c6974e394b6932fecbb6d89..e58145b51f3134e7b96f91b02bc91cd83a21412b 100644
--- a/gpu/command_buffer/common/time.h
+++ b/gpu/command_buffer/common/time.h
@@ -12,7 +12,7 @@
namespace gpu {
inline uint64 MicrosecondsSinceOriginOfTime() {
- return (base::TimeTicks::HighResNow() - base::TimeTicks()).InMicroseconds();
+ return (base::TimeTicks::Now() - base::TimeTicks()).InMicroseconds();
}
} // namespace gpu

Powered by Google App Engine
This is Rietveld 408576698