Index: ash/wm/gestures/long_press_affordance_handler.cc |
diff --git a/ash/wm/gestures/long_press_affordance_handler.cc b/ash/wm/gestures/long_press_affordance_handler.cc |
index 328c0ad4f53d866939039e7119983368ad371f67..683741f2b4ff7fb9c86c5584c4f4e1ec55e37593 100644 |
--- a/ash/wm/gestures/long_press_affordance_handler.cc |
+++ b/ash/wm/gestures/long_press_affordance_handler.cc |
@@ -261,7 +261,8 @@ void LongPressAffordanceHandler::ProcessEvent(aura::Window* target, |
tap_down_location_ = event->root_location(); |
tap_down_touch_id_ = touch_id; |
current_animation_type_ = GROW_ANIMATION; |
- tap_down_display_id_ = gfx::Screen::GetDisplayNearestWindow(target).id(); |
+ tap_down_display_id_ = |
+ Shell::GetScreen()->GetDisplayNearestWindow(target).id(); |
timer_.Start(FROM_HERE, |
base::TimeDelta::FromMilliseconds(timer_start_time_ms), |
this, |