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

Unified Diff: chrome/browser/platform_util_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
« no previous file with comments | « chrome/browser/mac/relauncher.cc ('k') | chrome/browser/printing/printer_manager_dialog_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/platform_util_linux.cc
diff --git a/chrome/browser/platform_util_linux.cc b/chrome/browser/platform_util_linux.cc
index eb1dbc97c26f52bcaa3e148990b4534bb00272e8..e93cc0f08ade3227a870eef8e909dc81497dfd70 100644
--- a/chrome/browser/platform_util_linux.cc
+++ b/chrome/browser/platform_util_linux.cc
@@ -35,12 +35,10 @@ void XDGUtil(const std::string& util, const std::string& arg) {
env.push_back(std::make_pair("GNOME_DISABLE_CRASH_DIALOG", ""));
}
- base::file_handle_mapping_vector no_files;
base::ProcessHandle handle;
base::LaunchOptions options;
- options.process_handle = &handle;
options.environ = &env;
- if (base::LaunchProcess(argv, options))
+ if (base::LaunchProcess(argv, options, &handle))
ProcessWatcher::EnsureProcessGetsReaped(handle);
}
« no previous file with comments | « chrome/browser/mac/relauncher.cc ('k') | chrome/browser/printing/printer_manager_dialog_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698