Index: content/browser/renderer_host/input/touch_selection_controller_client_aura.cc |
diff --git a/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc b/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc |
index d9d142aa834341bcda966ca450633630589e0571..8fb31d7467474617d29b7f3414161fac59e3cafa 100644 |
--- a/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc |
+++ b/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc |
@@ -466,9 +466,8 @@ void TouchSelectionControllerClientAura::RunContextMenu() { |
gfx::PointF(anchor_rect.CenterPoint().x(), anchor_rect.y()); |
RenderWidgetHostImpl* host = |
RenderWidgetHostImpl::From(rwhva_->GetRenderWidgetHost()); |
- host->Send(new ViewMsg_ShowContextMenu(host->GetRoutingID(), |
- ui::MENU_SOURCE_TOUCH_EDIT_MENU, |
- gfx::ToRoundedPoint(anchor_point))); |
+ host->ShowContextMenuAtPoint(gfx::ToRoundedPoint(anchor_point), |
+ ui::MENU_SOURCE_TOUCH_EDIT_MENU); |
// Hide selection handles after getting rect-between-bounds from touch |
// selection controller; otherwise, rect would be empty and the above |