Index: mojo/edk/embedder/platform_shared_buffer.cc |
diff --git a/mojo/edk/embedder/platform_shared_buffer.cc b/mojo/edk/embedder/platform_shared_buffer.cc |
index a6121503f244ee02bfd1d05538163d6721a43ef6..c53cda21375301a843c1b9f577c3dc2154e3b0f7 100644 |
--- a/mojo/edk/embedder/platform_shared_buffer.cc |
+++ b/mojo/edk/embedder/platform_shared_buffer.cc |
@@ -237,12 +237,10 @@ bool PlatformSharedBuffer::InitFromPlatformHandle( |
DCHECK(!shared_memory_); |
#if defined(OS_WIN) |
- base::SharedMemoryHandle handle(platform_handle.release().handle, |
- base::GetCurrentProcId()); |
+ base::SharedMemoryHandle handle(platform_handle.release().handle); |
#elif defined(OS_MACOSX) && !defined(OS_IOS) |
base::SharedMemoryHandle handle; |
- handle = base::SharedMemoryHandle(platform_handle.release().port, num_bytes_, |
- base::GetCurrentProcId()); |
+ handle = base::SharedMemoryHandle(platform_handle.release().port, num_bytes_); |
#else |
base::SharedMemoryHandle handle( |
base::FileDescriptor(platform_handle.release().handle, false)); |
@@ -261,10 +259,8 @@ bool PlatformSharedBuffer::InitFromPlatformHandlePair( |
#else // defined(OS_MACOSX) |
#if defined(OS_WIN) |
- base::SharedMemoryHandle handle(rw_platform_handle.release().handle, |
- base::GetCurrentProcId()); |
- base::SharedMemoryHandle ro_handle(ro_platform_handle.release().handle, |
- base::GetCurrentProcId()); |
+ base::SharedMemoryHandle handle(rw_platform_handle.release().handle); |
+ base::SharedMemoryHandle ro_handle(ro_platform_handle.release().handle); |
#else // defined(OS_WIN) |
base::SharedMemoryHandle handle( |
base::FileDescriptor(rw_platform_handle.release().handle, false)); |