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..22b61055f39d363d2644471366391aa4ba83efd0 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::GetAshScreen()->GetDisplayNearestWindow(target).id(); |
timer_.Start(FROM_HERE, |
base::TimeDelta::FromMilliseconds(timer_start_time_ms), |
this, |