| Index: base/memory/shared_memory_posix.cc
|
| diff --git a/base/memory/shared_memory_posix.cc b/base/memory/shared_memory_posix.cc
|
| index 8b6ed09bb54bcbaad0b178d265f066d86abd31e6..0187fb21ca13035d220048eb7f7111dc5240848a 100644
|
| --- a/base/memory/shared_memory_posix.cc
|
| +++ b/base/memory/shared_memory_posix.cc
|
| @@ -361,13 +361,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();
|
| }
|
|
|
|
|