diff options
Diffstat (limited to 'chrome/browser/mac')
-rw-r--r-- | chrome/browser/mac/relauncher.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/mac/relauncher.cc b/chrome/browser/mac/relauncher.cc index 07f8e79..9594403 100644 --- a/chrome/browser/mac/relauncher.cc +++ b/chrome/browser/mac/relauncher.cc @@ -153,10 +153,8 @@ bool RelaunchAppWithHelper(const std::string& helper, base::file_handle_mapping_vector fd_map; fd_map.push_back(std::make_pair(*pipe_write_fd, kRelauncherSyncFD)); - base::LaunchOptions options; - options.fds_to_remap = &fd_map; - if (!base::LaunchProcess(relaunch_args, options)) { - LOG(ERROR) << "base::LaunchProcess failed"; + if (!base::LaunchApp(relaunch_args, fd_map, false, NULL)) { + LOG(ERROR) << "base::LaunchApp failed"; return false; } |