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

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: Removing unnecessary #if defined(s) 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..d71bf0d323389d0b7105a7e9755aa4b50bb5e38b 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,8 @@ 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, reinterpret_cast<UINT_PTR>(sub_menu),
+ L"");
int index = 0;
if (params_.media_type == WebContextMenuData::MediaTypeNone &&

Powered by Google App Engine
This is Rietveld 408576698