Index: chrome/browser/shell_integration_linux.cc |
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc |
index 40257a5cbbae264e6f02a6aff169686add039438..43d6e6822fe56a0240778d9a1aac8d242c83378c 100644 |
--- a/chrome/browser/shell_integration_linux.cc |
+++ b/chrome/browser/shell_integration_linux.cc |
@@ -58,7 +58,10 @@ bool LaunchXdgUtility(const std::vector<std::string>& argv, int* exit_code) { |
no_stdin.push_back(std::make_pair(devnull, STDIN_FILENO)); |
base::ProcessHandle handle; |
- if (!base::LaunchApp(argv, no_stdin, false, &handle)) { |
+ base::LaunchOptions options; |
+ options.process_handle = &handle; |
+ options.fds_to_remap = &no_stdin; |
+ if (!base::LaunchProcess(argv, options)) { |
close(devnull); |
return false; |
} |