Index: base/memory/shared_memory_posix.cc |
diff --git a/base/memory/shared_memory_posix.cc b/base/memory/shared_memory_posix.cc |
index 0187fb21ca13035d220048eb7f7111dc5240848a..5cb6c4242663b376b35a19d1e38079ed29bd6e9c 100644 |
--- a/base/memory/shared_memory_posix.cc |
+++ b/base/memory/shared_memory_posix.cc |
@@ -360,12 +360,6 @@ SharedMemoryHandle SharedMemory::GetReadOnlyHandle() { |
return readonly_shm_.Duplicate(); |
} |
-bool SharedMemory::ShareToProcessCommon(ProcessHandle process, |
- SharedMemoryHandle* new_handle) { |
- *new_handle = shm_.Duplicate(); |
- return new_handle->IsValid(); |
-} |
- |
bool SharedMemory::GetUniqueId(SharedMemory::UniqueId* id) const { |
// This function is called just after mmap. fstat is a system call that might |
// cause I/O. It's safe to call fstat here because mmap for shared memory is |