Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index 0885a2e88e61f24563b3b205e1384928e34255cc..7556afa89882fff5c25b7aab32dfa0e8b275a839 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1327,9 +1327,10 @@ void RenderWidgetHostImpl::SetCursor(const WebCursor& cursor) { |
view_->UpdateCursor(cursor); |
} |
-void RenderWidgetHostImpl::ShowContextMenuAtPoint(const gfx::Point& point) { |
- Send(new ViewMsg_ShowContextMenu( |
- GetRoutingID(), ui::MENU_SOURCE_MOUSE, point)); |
+void RenderWidgetHostImpl::ShowContextMenuAtPoint( |
+ const gfx::Point& point, |
+ const ui::MenuSourceType source_type) { |
+ Send(new ViewMsg_ShowContextMenu(GetRoutingID(), source_type, point)); |
} |
void RenderWidgetHostImpl::SendCursorVisibilityState(bool is_visible) { |