Index: chrome/browser/platform_util_linux.cc |
diff --git a/chrome/browser/platform_util_linux.cc b/chrome/browser/platform_util_linux.cc |
index b795cf9ca158cf7cd723356ef8b0f13dc277981e..9a7b27a226b0503b3c4046815d2a5e6c737a4794 100644 |
--- a/chrome/browser/platform_util_linux.cc |
+++ b/chrome/browser/platform_util_linux.cc |
@@ -37,7 +37,10 @@ void XDGUtil(const std::string& util, const std::string& arg) { |
base::file_handle_mapping_vector no_files; |
base::ProcessHandle handle; |
- if (base::LaunchApp(argv, env, no_files, false, &handle)) |
+ base::LaunchOptions options; |
+ options.process_handle = &handle; |
+ options.environ = &env; |
+ if (base::LaunchProcess(argv, options)) |
ProcessWatcher::EnsureProcessGetsReaped(handle); |
} |