| Index: content/browser/web_contents/web_contents_view_mac.mm
|
| diff --git a/content/browser/web_contents/web_contents_view_mac.mm b/content/browser/web_contents/web_contents_view_mac.mm
|
| index 7c2a0e9bb8a620ae1a3301a2c07da94011e378d7..9240d9271dd014eb96114222f48e7cdb6070d40a 100644
|
| --- a/content/browser/web_contents/web_contents_view_mac.mm
|
| +++ b/content/browser/web_contents/web_contents_view_mac.mm
|
| @@ -281,7 +281,8 @@ void WebContentsViewMac::TakeFocus(bool reverse) {
|
| }
|
|
|
| void WebContentsViewMac::ShowContextMenu(
|
| - const content::ContextMenuParams& params) {
|
| + const content::ContextMenuParams& params,
|
| + const content::ContextMenuSourceType& type) {
|
| // Allow delegates to handle the context menu operation first.
|
| if (web_contents_->GetDelegate() &&
|
| web_contents_->GetDelegate()->HandleContextMenu(params)) {
|
| @@ -289,7 +290,7 @@ void WebContentsViewMac::ShowContextMenu(
|
| }
|
|
|
| if (delegate())
|
| - delegate()->ShowContextMenu(params);
|
| + delegate()->ShowContextMenu(params, type);
|
| else
|
| DLOG(ERROR) << "Cannot show context menus without a delegate.";
|
| }
|
|
|