Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index c8e64f16b1c2294a75409046f288ba16b05ae083..340f9692864eceb1fe63b0e8bb0c7a2977a53d15 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -1418,12 +1418,13 @@ RenderWidgetHostView* WebContentsImpl::GetCreatedWidget(int route_id) { |
} |
void WebContentsImpl::ShowContextMenu( |
- const content::ContextMenuParams& params) { |
+ const content::ContextMenuParams& params, |
+ const content::ContextMenuEventType& type) { |
// Allow WebContentsDelegates to handle the context menu operation first. |
if (delegate_ && delegate_->HandleContextMenu(params)) |
return; |
- render_view_host_delegate_view_->ShowContextMenu(params); |
+ render_view_host_delegate_view_->ShowContextMenu(params, type); |
} |
void WebContentsImpl::RequestMediaAccessPermission( |