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

Unified Diff: ui/gfx/frame_time.h

Issue 668273003: Get high resolution frame timebase and interval on compatible systems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor whitespace cleanup Created 6 years, 2 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 | « no previous file | ui/gl/gl_surface_win.cc » ('j') | ui/gl/gl_surface_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/frame_time.h
diff --git a/ui/gfx/frame_time.h b/ui/gfx/frame_time.h
index 5cc65f5f4a883aa764140412313cace4078f4236..7e0b54ab672e7a505e34c59807909e5acf5be0b1 100644
--- a/ui/gfx/frame_time.h
+++ b/ui/gfx/frame_time.h
@@ -28,10 +28,7 @@ class FrameTime {
#endif
static bool TimestampsAreHighRes() {
- // This should really return base::TimeTicks::IsHighResNowFastAndReliable();
- // Returning false makes sure we are only using low-res timestamps until we
- // use FrameTime everywhere we need to. See crbug.com/315334
brianderson 2014/10/22 23:05:29 Note: This comment is a bit missleading. "until we
- return false;
+ return base::TimeTicks::IsHighResClockWorking();
}
};
« no previous file with comments | « no previous file | ui/gl/gl_surface_win.cc » ('j') | ui/gl/gl_surface_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698