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 39d3695effabb4575386f75bc54029eed140b3e0..6f78c968b8ce49fea1b5df22d8d41d27a1a6c012 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl.cc |
@@ -303,7 +303,7 @@ void TouchSelectionControllerImpl::ExecuteCommand(int command_id, |
} |
void TouchSelectionControllerImpl::OpenContextMenu() { |
- gfx::Point anchor = context_menu_->anchor_point(); |
+ gfx::Point anchor = context_menu_->anchor_rect().origin(); |
anchor.Offset(0, -kSelectionHandleRadius); |
HideContextMenu(); |
client_view_->OpenContextMenu(anchor); |