summaryrefslogtreecommitdiffstats
path: root/content/browser/utility_process_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/utility_process_host.cc')
-rw-r--r--content/browser/utility_process_host.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/content/browser/utility_process_host.cc b/content/browser/utility_process_host.cc
index 44a7ef5..c62ec3e 100644
--- a/content/browser/utility_process_host.cc
+++ b/content/browser/utility_process_host.cc
@@ -61,7 +61,12 @@ void UtilityProcessHost::EndBatchMode() {
}
FilePath UtilityProcessHost::GetUtilityProcessCmd() {
- return GetChildPath(true);
+#if defined(OS_LINUX)
+ int flags = CHILD_ALLOW_SELF;
+#else
+ int flags = CHILD_NORMAL;
+#endif
+ return GetChildPath(flags);
}
bool UtilityProcessHost::StartProcess() {