Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(989)

Unified Diff: content/shell/browser/shell_web_contents_view_delegate_win.cc

Issue 1422773008: Fixing remaining VC++ 2015 64-bit build breaks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to latest Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 &&

Powered by Google App Engine
This is Rietveld 408576698