Index: content/browser/worker_host/worker_process_host.cc |
=================================================================== |
--- content/browser/worker_host/worker_process_host.cc (revision 97969) |
+++ content/browser/worker_host/worker_process_host.cc (working copy) |
@@ -118,7 +118,13 @@ |
if (!CreateChannel()) |
return false; |
- FilePath exe_path = GetChildPath(true); |
+#if defined(OS_LINUX) |
+ int flags = CHILD_ALLOW_SELF; |
+#else |
+ int flags = CHILD_NORMAL; |
+#endif |
+ |
+ FilePath exe_path = GetChildPath(flags); |
if (exe_path.empty()) |
return false; |