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; |