Index: content/common/sandbox_init_win.cc |
diff --git a/content/common/sandbox_init_win.cc b/content/common/sandbox_init_win.cc |
index e1c07c940ab76a6900c50cf143d365d3084c09b0..78c1fef251dc4e04ca545324185c185ead3de3f1 100644 |
--- a/content/common/sandbox_init_win.cc |
+++ b/content/common/sandbox_init_win.cc |
@@ -47,9 +47,9 @@ bool BrokerDuplicateSharedMemoryHandle( |
base::ProcessId target_process_id, |
base::SharedMemoryHandle* target_handle) { |
HANDLE duped_handle; |
- if (!BrokerDuplicateHandle(source_handle.GetHandle(), target_process_id, |
- &duped_handle, |
- FILE_GENERIC_READ | FILE_GENERIC_WRITE, 0)) { |
+ if (!BrokerDuplicateHandle( |
+ source_handle.GetHandle(), target_process_id, &duped_handle, |
+ FILE_MAP_READ | FILE_MAP_WRITE | SECTION_QUERY, 0)) { |
return false; |
} |