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

Unified Diff: content/child/npapi/webplugin_delegate_impl_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 unneeded include Created 5 years 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
« no previous file with comments | « components/startup_metric_utils/browser/startup_metric_utils.cc ('k') | content/common/pepper_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/webplugin_delegate_impl_win.cc
diff --git a/content/child/npapi/webplugin_delegate_impl_win.cc b/content/child/npapi/webplugin_delegate_impl_win.cc
index 8dd368721ad867f4d091a1191655893f96208362..caa8f4ef897787323faa8548f5f2b405b833a5c1 100644
--- a/content/child/npapi/webplugin_delegate_impl_win.cc
+++ b/content/child/npapi/webplugin_delegate_impl_win.cc
@@ -594,7 +594,8 @@ void WebPluginDelegateImpl::ThrottleMessage(WNDPROC proc, HWND hwnd,
UINT message, WPARAM wParam,
LPARAM lParam) {
MSG msg;
- msg.time = reinterpret_cast<DWORD>(proc);
+ // Cast through uintptr_t and then DWORD to make the truncation explicit.
+ msg.time = static_cast<DWORD>(reinterpret_cast<uintptr_t>(proc));
msg.hwnd = hwnd;
msg.message = message;
msg.wParam = wParam;
« no previous file with comments | « components/startup_metric_utils/browser/startup_metric_utils.cc ('k') | content/common/pepper_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698