Bug 1428950 - Unbreak build on BSDs after
bug 1297740. r?gcp
--- a/ipc/chromium/src/base/process_util_bsd.cc
+++ b/ipc/chromium/src/base/process_util_bsd.cc
@@ -36,17 +36,17 @@ bool LaunchApp(const std::vector<std::st
argv_copy[i] = const_cast<char*>(argv[i].c_str());
}
argv_copy[argv.size()] = NULL;
// Make sure we don't leak any FDs to the child process by marking all FDs
// as close-on-exec.
SetAllFDsToCloseOnExec();
- EnvironmentArray vars = BuildEnvironmentArray(options.environ);
+ EnvironmentArray vars = BuildEnvironmentArray(options.env_map);
posix_spawn_file_actions_t file_actions;
if (posix_spawn_file_actions_init(&file_actions) != 0) {
return false;
}
// Turn fds_to_remap array into a set of dup2 calls.
for (const auto& fd_map : options.fds_to_remap) {