Index: ash/display/display_controller.cc |
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc |
index 7a3b6f9959daef8f7b0067eec767a425a89924be..9b18928516e31e18817ea10fac1045b437e4854f 100644 |
--- a/ash/display/display_controller.cc |
+++ b/ash/display/display_controller.cc |
@@ -36,7 +36,6 @@ |
#include "ui/aura/window_tracker.h" |
#include "ui/aura/window_tree_host.h" |
#include "ui/compositor/compositor.h" |
-#include "ui/compositor/compositor_vsync_manager.h" |
#include "ui/gfx/display.h" |
#include "ui/gfx/screen.h" |
#include "ui/wm/public/activation_client.h" |
@@ -149,9 +148,9 @@ void SetDisplayPropertiesOnHost(AshWindowTreeHost* ash_host, |
DisplayMode mode = |
GetDisplayManager()->GetActiveModeForDisplayId(display.id()); |
if (mode.refresh_rate > 0.0f) { |
- host->compositor()->vsync_manager()->SetAuthoritativeVSyncInterval( |
- base::TimeDelta::FromMicroseconds( |
- base::Time::kMicrosecondsPerSecond / mode.refresh_rate)); |
+ host->compositor()->SetAuthoritativeVSyncInterval( |
+ base::TimeDelta::FromMicroseconds(base::Time::kMicrosecondsPerSecond / |
+ mode.refresh_rate)); |
} |
// Just movnig the display requires the full redraw. |