| Index: base/process/launch_fuchsia.cc
|
| diff --git a/base/process/launch_fuchsia.cc b/base/process/launch_fuchsia.cc
|
| index 5ceb9ab439492b08f71241eb4f4768b2097b00d8..e7e607207f6f062060041de72fe91f5b42324063 100644
|
| --- a/base/process/launch_fuchsia.cc
|
| +++ b/base/process/launch_fuchsia.cc
|
| @@ -116,15 +116,12 @@ Process LaunchProcess(const std::vector<std::string>& argv,
|
| else
|
| to_clone |= LP_CLONE_ENVIRON;
|
|
|
| - if (!options.fds_to_remap)
|
| + if (options.fds_to_remap.empty())
|
| to_clone |= LP_CLONE_MXIO_STDIO;
|
| launchpad_clone(lp, to_clone);
|
|
|
| - if (options.fds_to_remap) {
|
| - for (const auto& src_target : *options.fds_to_remap) {
|
| - launchpad_clone_fd(lp, src_target.first, src_target.second);
|
| - }
|
| - }
|
| + for (const auto& src_target : options.fds_to_remap)
|
| + launchpad_clone_fd(lp, src_target.first, src_target.second);
|
|
|
| mx_handle_t proc;
|
| const char* errmsg;
|
|
|