Index: base/memory/shared_memory_mac.cc |
diff --git a/base/memory/shared_memory_mac.cc b/base/memory/shared_memory_mac.cc |
index 9a6394949be2c990d117e50e0fe12e15ac06284d..67cd9e67724033ca1a0910504bb6414ad6ddea2c 100644 |
--- a/base/memory/shared_memory_mac.cc |
+++ b/base/memory/shared_memory_mac.cc |
@@ -284,13 +284,8 @@ bool SharedMemory::Share(SharedMemoryHandle* new_handle) { |
} |
bool SharedMemory::ShareToProcessCommon(ProcessHandle process, |
- SharedMemoryHandle* new_handle, |
- bool close_self) { |
+ SharedMemoryHandle* new_handle) { |
bool success = Share(new_handle); |
- if (close_self) { |
- Unmap(); |
- Close(); |
- } |
return success; |
} |