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

Unified Diff: ui/gfx/frame_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: ui/gfx/frame_time.h
diff --git a/ui/gfx/frame_time.h b/ui/gfx/frame_time.h
index dd00fbfdd5ddfa908cdacc35ae9535a4070e1617..4f9268b1c58bf683d9b0e1499fe29ca04368e56b 100644
--- a/ui/gfx/frame_time.h
+++ b/ui/gfx/frame_time.h
@@ -15,8 +15,6 @@ namespace gfx {
class FrameTime {
public:
static base::TimeTicks Now() {
- if (TimestampsAreHighRes())
- return base::TimeTicks::HighResNow();
return base::TimeTicks::Now();
}

Powered by Google App Engine
This is Rietveld 408576698