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

Unified Diff: content/common/pepper_file_util.cc

Issue 1154613006: Update pepper to not assume that SharedMemoryHandle is an int. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another nits pass. Created 5 years, 7 months 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/common/pepper_file_util.cc
diff --git a/content/common/pepper_file_util.cc b/content/common/pepper_file_util.cc
index be253c150c9d207df9394e86833e5ef1ad2ff44e..6264faa5374422e65609de14913359318e0b66fa 100644
--- a/content/common/pepper_file_util.cc
+++ b/content/common/pepper_file_util.cc
@@ -20,17 +20,6 @@ storage::FileSystemType PepperFileSystemTypeToFileSystemType(
}
}
-base::PlatformFile PlatformFileFromSharedMemoryHandle(
- const base::SharedMemoryHandle& shm_handle) {
-#if defined(OS_WIN)
- return shm_handle;
-#elif defined(OS_POSIX)
- return shm_handle.fd;
-#else
-#error Platform not supported.
-#endif
-}
-
int IntegerFromSyncSocketHandle(
const base::SyncSocket::Handle& socket_handle) {
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698