summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/profile_import_process_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/importer/profile_import_process_host.cc')
-rw-r--r--chrome/browser/importer/profile_import_process_host.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/importer/profile_import_process_host.cc b/chrome/browser/importer/profile_import_process_host.cc
index 745b5f3..70350cf 100644
--- a/chrome/browser/importer/profile_import_process_host.cc
+++ b/chrome/browser/importer/profile_import_process_host.cc
@@ -76,7 +76,12 @@ bool ProfileImportProcessHost::ReportImportItemFinished(
}
FilePath ProfileImportProcessHost::GetProfileImportProcessCmd() {
- return GetChildPath(true);
+#if defined(OS_LINUX)
+ int flags = CHILD_ALLOW_SELF;
+#else
+ int flags = CHILD_NORMAL;
+#endif
+ return GetChildPath(flags);
}
bool ProfileImportProcessHost::StartProcess() {