summaryrefslogtreecommitdiffstats
path: root/ui/views/touchui/touch_selection_controller_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/touchui/touch_selection_controller_impl.cc')
-rw-r--r--ui/views/touchui/touch_selection_controller_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc
index 93fb4bc..185fff2 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();
}