Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3209)

Unified Diff: chrome/common/service_process_util.cc

Issue 8585002: Give base::SharedMemory::CreateAnonymous an executable flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/service_process_util.cc
diff --git a/chrome/common/service_process_util.cc b/chrome/common/service_process_util.cc
index 768c6189678074c9c7def3cd45e58fa287fdd00e..058bfc86befcbe4474ec3ed8f671f93dc8b39c6f 100644
--- a/chrome/common/service_process_util.cc
+++ b/chrome/common/service_process_util.cc
@@ -227,7 +227,7 @@ bool ServiceProcessState::CreateSharedData() {
uint32 alloc_size = sizeof(ServiceProcessSharedData);
if (!shared_mem_service_data->CreateNamed(GetServiceProcessSharedMemName(),
- true, alloc_size))
+ true, alloc_size, false))
return false;
if (!shared_mem_service_data->Map(alloc_size))

Powered by Google App Engine
This is Rietveld 408576698