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

Unified Diff: ui/gfx/frame_time.h

Issue 1061733002: Remove windows/mac/ios specific code from //ui (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix default try set Created 5 years, 9 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 | « ui/gfx/display.cc ('k') | ui/gfx/geometry/point.h » ('j') | no next file with comments »
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 d5eb1cb6172d07c746b1b9182734a7230f0f06b1..14e85910be77168882fdafcb767772ca5267290b 100644
--- a/ui/gfx/frame_time.h
+++ b/ui/gfx/frame_time.h
@@ -18,13 +18,6 @@ class FrameTime {
return base::TimeTicks::Now();
}
-#if defined(OS_WIN)
- static base::TimeTicks FromQPCValue(LONGLONG qpc_value) {
- DCHECK(TimestampsAreHighRes());
- return base::TimeTicks::FromQPCValue(qpc_value);
- }
-#endif
-
static bool TimestampsAreHighRes() {
// This should really return base::TimeTicks::IsHighResNowFastAndReliable();
// Returning false makes sure we are only using low-res timestamps until we
« no previous file with comments | « ui/gfx/display.cc ('k') | ui/gfx/geometry/point.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698