Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index afb3b3f04f7b5dfec2df4a1dc3084da8974bddbc..b062d28adfb6dcbf6c9719443666ae5e6edae536 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -2418,7 +2418,8 @@ void RenderViewImpl::OnShowContextMenu( |
has_host_context_menu_location_ = true; |
host_context_menu_location_ = location; |
if (webview()) |
- webview()->ShowContextMenu(); |
+ webview()->ShowContextMenu( |
+ static_cast<blink::WebMenuSourceType>(source_type)); |
has_host_context_menu_location_ = false; |
} |