Index: content/shell/browser/shell_web_contents_view_delegate_win.cc |
diff --git a/content/shell/browser/shell_web_contents_view_delegate_win.cc b/content/shell/browser/shell_web_contents_view_delegate_win.cc |
index d5a16baab85dae51d19e446a6d87a70fa5b98bd0..c5bffd595cb953678038d5bd3ac9bef7cfd02072 100644 |
--- a/content/shell/browser/shell_web_contents_view_delegate_win.cc |
+++ b/content/shell/browser/shell_web_contents_view_delegate_win.cc |
@@ -82,7 +82,7 @@ void ShellWebContentsViewDelegate::ShowContextMenu( |
HMENU menu = CreateMenu(); |
HMENU sub_menu = CreatePopupMenu(); |
- AppendMenu(menu, MF_STRING | MF_POPUP, (UINT)sub_menu, L""); |
+ AppendMenu(menu, MF_STRING | MF_POPUP, (UINT_PTR)sub_menu, L""); |
Will Harris
2015/11/10 18:05:14
nit: do not use C-style cast here.
brucedawson
2015/11/10 18:43:26
I thought I could get grandfathered in :-)
|
int index = 0; |
if (params_.media_type == WebContextMenuData::MediaTypeNone && |