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

Unified Diff: content/common/pepper_file_util.cc

Issue 1422773008: Fixing remaining VC++ 2015 64-bit build breaks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding #ifdefs 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
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl_win.cc ('k') | content/common/sandbox_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/pepper_file_util.cc
diff --git a/content/common/pepper_file_util.cc b/content/common/pepper_file_util.cc
index 6264faa5374422e65609de14913359318e0b66fa..bebd7f7690d5bbd6a4e95c6b2f060cdd653682bf 100644
--- a/content/common/pepper_file_util.cc
+++ b/content/common/pepper_file_util.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "content/common/pepper_file_util.h"
+#include "ppapi/shared_impl/platform_file.h"
namespace content {
@@ -23,7 +24,7 @@ storage::FileSystemType PepperFileSystemTypeToFileSystemType(
int IntegerFromSyncSocketHandle(
const base::SyncSocket::Handle& socket_handle) {
#if defined(OS_WIN)
- return reinterpret_cast<int>(socket_handle);
+ return ppapi::PlatformFileToInt(socket_handle);
Will Harris 2015/11/11 23:49:35 looks like this could call down to ppapi::Platform
brucedawson 2015/11/12 02:04:24 Good point.
#elif defined(OS_POSIX)
return socket_handle;
#else
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl_win.cc ('k') | content/common/sandbox_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698