Index: ui/aura/window_tree_host_platform.cc |
diff --git a/ui/aura/window_tree_host_platform.cc b/ui/aura/window_tree_host_platform.cc |
index a7ad83643367bd81622dd9029b2d21bf44202b2e..ee1a4268faa3f03a0486fc1a8f414e53491d2936 100644 |
--- a/ui/aura/window_tree_host_platform.cc |
+++ b/ui/aura/window_tree_host_platform.cc |
@@ -10,8 +10,8 @@ |
#include "build/build_config.h" |
#include "ui/aura/window_event_dispatcher.h" |
#include "ui/compositor/compositor.h" |
+#include "ui/display/screen.h" |
#include "ui/events/event.h" |
-#include "ui/gfx/screen.h" |
#if defined(OS_ANDROID) |
#include "ui/platform_window/android/platform_window_android.h" |
@@ -125,7 +125,7 @@ void WindowTreeHostPlatform::OnCursorVisibilityChangedNative(bool show) { |
void WindowTreeHostPlatform::OnBoundsChanged(const gfx::Rect& new_bounds) { |
float current_scale = compositor()->device_scale_factor(); |
- float new_scale = gfx::Screen::GetScreen() |
+ float new_scale = display::Screen::GetScreen() |
->GetDisplayNearestWindow(window()) |
.device_scale_factor(); |
gfx::Rect old_bounds = bounds_; |