Index: base/memory/shared_memory_nacl.cc |
diff --git a/base/memory/shared_memory_nacl.cc b/base/memory/shared_memory_nacl.cc |
index 32c321068158d5c3fa4e8228e9bdb8c91e27a78a..8e3387699c5e38ea2cc2dc687b2708e664ddbf76 100644 |
--- a/base/memory/shared_memory_nacl.cc |
+++ b/base/memory/shared_memory_nacl.cc |
@@ -132,13 +132,8 @@ SharedMemoryHandle SharedMemory::GetReadOnlyHandle() { |
} |
bool SharedMemory::ShareToProcessCommon(ProcessHandle process, |
- SharedMemoryHandle* new_handle, |
- bool close_self) { |
+ SharedMemoryHandle* new_handle) { |
*new_handle = shm_.Duplicate(); |
- if (close_self) { |
- Unmap(); |
- Close(); |
- } |
return new_handle->IsValid(); |
} |