Index: base/memory/shared_memory_mac.cc |
diff --git a/base/memory/shared_memory_mac.cc b/base/memory/shared_memory_mac.cc |
index 67cd9e67724033ca1a0910504bb6414ad6ddea2c..bc03c9a039e99f7e09bcb054d638254bb496eb1e 100644 |
--- a/base/memory/shared_memory_mac.cc |
+++ b/base/memory/shared_memory_mac.cc |
@@ -277,16 +277,4 @@ SharedMemoryHandle SharedMemory::GetReadOnlyHandle() { |
return new_handle; |
} |
-bool SharedMemory::Share(SharedMemoryHandle* new_handle) { |
- DCHECK(shm_.IsValid()); |
- *new_handle = shm_.Duplicate(); |
- return new_handle->IsValid(); |
-} |
- |
-bool SharedMemory::ShareToProcessCommon(ProcessHandle process, |
- SharedMemoryHandle* new_handle) { |
- bool success = Share(new_handle); |
- return success; |
-} |
- |
} // namespace base |