Index: ui/gl/gl_surface_win.cc |
diff --git a/ui/gl/gl_surface_win.cc b/ui/gl/gl_surface_win.cc |
index 33ba90174f9ecbfeab27bb9334e06dcf54b847a6..7f6dfd79fe21094e1d2a3301c3f9d7247f80c483 100644 |
--- a/ui/gl/gl_surface_win.cc |
+++ b/ui/gl/gl_surface_win.cc |
@@ -11,7 +11,6 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/trace_event/trace_event.h" |
#include "base/win/windows_version.h" |
-#include "ui/gfx/frame_time.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gl/gl_bindings.h" |
#include "ui/gl/gl_implementation.h" |
@@ -89,10 +88,10 @@ class WinVSyncProvider : public VSyncProvider { |
timing_info.rateRefresh.uiNumerator); |
} |
- if (gfx::FrameTime::TimestampsAreHighRes()) { |
+ if (base::TimeTicks::IsHighResolution()) { |
// qpcRefreshPeriod is very accurate but noisy, and must be used with |
// a high resolution timebase to avoid frequently missing Vsync. |
- timebase = gfx::FrameTime::FromQPCValue( |
+ timebase = base::TimeTicks::FromQPCValue( |
static_cast<LONGLONG>(timing_info.qpcVBlank)); |
interval = base::TimeDelta::FromQPCValue( |
static_cast<LONGLONG>(timing_info.qpcRefreshPeriod)); |