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

Unified Diff: chrome/common/launchd_mac.mm

Issue 7284018: posix: remove LaunchAppInNewProcessGroup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 6 months 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
« no previous file with comments | « base/process_util.h ('k') | chrome/test/out_of_proc_test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/launchd_mac.mm
diff --git a/chrome/common/launchd_mac.mm b/chrome/common/launchd_mac.mm
index c67ff23abd6662b24302f4f49706fa4aa879c03b..935bfdeb68415b86fb854a6255f55a777cdf898c 100644
--- a/chrome/common/launchd_mac.mm
+++ b/chrome/common/launchd_mac.mm
@@ -129,12 +129,10 @@ bool Launchd::RestartJob(Domain domain,
[ns_session_type UTF8String], file_path,
[ns_session_type UTF8String], file_path);
argv.push_back(command);
- base::ProcessHandle handle;
- return base::LaunchAppInNewProcessGroup(argv,
- base::environment_vector(),
- base::file_handle_mapping_vector(),
- NO,
- &handle);
+
+ base::LaunchOptions options;
+ options.new_process_group = true;
+ return base::LaunchApp(argv, options);
}
CFMutableDictionaryRef Launchd::CreatePlistFromFile(Domain domain,
« no previous file with comments | « base/process_util.h ('k') | chrome/test/out_of_proc_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698