Index: base/memory/shared_memory_win.cc |
diff --git a/base/memory/shared_memory_win.cc b/base/memory/shared_memory_win.cc |
index b022a3e9751ac9fe953194fb0acf9e40b2095dc9..992e7277856f6d58206226c15585dbc5a4583c27 100644 |
--- a/base/memory/shared_memory_win.cc |
+++ b/base/memory/shared_memory_win.cc |
@@ -307,6 +307,7 @@ bool SharedMemory::ShareToProcessCommon(ProcessHandle process, |
return false; |
} |
*new_handle = SharedMemoryHandle(result, base::GetProcId(process)); |
+ new_handle->SetOwnershipPassesToIPC(true); |
return true; |
} |