Index: chrome/browser/shell_integration_linux.cc |
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc |
index a3cc1fa1a972e401ea94cd6511833674dcf52cd7..195ea49b39cbd9eaa5810723c950e9a2bcbde74d 100644 |
--- a/chrome/browser/shell_integration_linux.cc |
+++ b/chrome/browser/shell_integration_linux.cc |
@@ -72,11 +72,9 @@ bool LaunchXdgUtility(const std::vector<std::string>& argv, int* exit_code) { |
int devnull = open("/dev/null", O_RDONLY); |
if (devnull < 0) |
return false; |
- base::FileHandleMappingVector no_stdin; |
- no_stdin.push_back(std::make_pair(devnull, STDIN_FILENO)); |
base::LaunchOptions options; |
- options.fds_to_remap = &no_stdin; |
+ options.fds_to_remap.push_back(std::make_pair(devnull, STDIN_FILENO)); |
base::Process process = base::LaunchProcess(argv, options); |
close(devnull); |
if (!process.IsValid()) |