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 b5d5d2d01cc5711a06adee24a2d2ab54c0c6e0b7..c9e9c071419c6ba0260e0391d34fcd8fb108e31a 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::GetMonitorAreaNearestPoint(position); |
+ gfx::Screen::GetMonitorNearestPoint(position).bounds(); |
widget_->SetBounds(widget_bounds.AdjustToFit(monitor_bounds)); |
Layout(); |
} |