Index: chrome/browser/mac/relauncher.cc |
diff --git a/chrome/browser/mac/relauncher.cc b/chrome/browser/mac/relauncher.cc |
index 95944038092665ac9e4d3fa10d95056d264d7c4b..07f8e79851b99dab2a2eae8d88c53a9542a2093b 100644 |
--- a/chrome/browser/mac/relauncher.cc |
+++ b/chrome/browser/mac/relauncher.cc |
@@ -153,8 +153,10 @@ bool RelaunchAppWithHelper(const std::string& helper, |
base::file_handle_mapping_vector fd_map; |
fd_map.push_back(std::make_pair(*pipe_write_fd, kRelauncherSyncFD)); |
- if (!base::LaunchApp(relaunch_args, fd_map, false, NULL)) { |
- LOG(ERROR) << "base::LaunchApp failed"; |
+ base::LaunchOptions options; |
+ options.fds_to_remap = &fd_map; |
+ if (!base::LaunchProcess(relaunch_args, options)) { |
+ LOG(ERROR) << "base::LaunchProcess failed"; |
return false; |
} |