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

Unified Diff: chrome/browser/shell_integration_linux.cc

Issue 7377012: Change base::LaunchProcess API slightly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
Index: chrome/browser/shell_integration_linux.cc
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc
index 43d6e6822fe56a0240778d9a1aac8d242c83378c..1c6e7e4765bdf7f0738276701fd9462b962d8e60 100644
--- a/chrome/browser/shell_integration_linux.cc
+++ b/chrome/browser/shell_integration_linux.cc
@@ -59,9 +59,8 @@ bool LaunchXdgUtility(const std::vector<std::string>& argv, int* exit_code) {
base::ProcessHandle handle;
base::LaunchOptions options;
- options.process_handle = &handle;
options.fds_to_remap = &no_stdin;
- if (!base::LaunchProcess(argv, options)) {
+ if (!base::LaunchProcess(argv, options, &handle)) {
close(devnull);
return false;
}
« no previous file with comments | « chrome/browser/service/service_process_control.cc ('k') | chrome/browser/ui/webui/options/advanced_options_utils_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698