Index: ui/views/touchui/touch_selection_controller_impl.cc |
diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc |
index 93fb4bcd242aef61549708a3b071980d93bd5fe6..185fff2c3e7acf242a2d8c78566e74695588f5eb 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl.cc |
@@ -311,7 +311,7 @@ class TouchSelectionControllerImpl::TouchContextMenuView |
total_width, |
height); |
gfx::Rect monitor_bounds = |
- gfx::Screen::GetMonitorNearestPoint(position).bounds(); |
+ gfx::Screen::GetDisplayNearestPoint(position).bounds(); |
widget_->SetBounds(widget_bounds.AdjustToFit(monitor_bounds)); |
Layout(); |
} |