| 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 f568f5a8ffeeaf320308ee0627b6cb381a8a0a30..094dcaa62438020ef98e9be643213335de391073 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1425,12 +1425,13 @@ RenderWidgetHostView* WebContentsImpl::GetCreatedWidget(int route_id) {
|
| }
|
|
|
| void WebContentsImpl::ShowContextMenu(
|
| - const content::ContextMenuParams& params) {
|
| + const content::ContextMenuParams& params,
|
| + const content::ContextMenuSourceType& 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(
|
|
|