diff options
Diffstat (limited to 'ash/display/event_transformation_handler.cc')
-rw-r--r-- | ash/display/event_transformation_handler.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ash/display/event_transformation_handler.cc b/ash/display/event_transformation_handler.cc index e1af21f..484a20a 100644 --- a/ash/display/event_transformation_handler.cc +++ b/ash/display/event_transformation_handler.cc @@ -8,7 +8,6 @@ #include "ash/display/display_info.h" #include "ash/display/display_manager.h" -#include "ash/shell.h" #include "ash/wm/window_util.h" #include "ui/aura/window.h" #include "ui/aura/window_event_dispatcher.h" @@ -43,7 +42,7 @@ void EventTransformationHandler::OnScrollEvent(ui::ScrollEvent* event) { aura::Window* target = static_cast<aura::Window*>(event->target()); ::wm::ConvertPointToScreen(target, &point_in_screen); const gfx::Display& display = - Shell::GetScreen()->GetDisplayNearestPoint(point_in_screen); + gfx::Screen::GetScreen()->GetDisplayNearestPoint(point_in_screen); // Apply some additional scaling if the display is non-integrated. if (!display.IsInternal()) |