Index: chrome/installer/util/google_update_util.cc |
diff --git a/chrome/installer/util/google_update_util.cc b/chrome/installer/util/google_update_util.cc |
index 5140146ad2e69de96f91d1fb94925f9341f95d1a..3a8558f56b0d2e66268f83c409501b8d05f8428b 100644 |
--- a/chrome/installer/util/google_update_util.cc |
+++ b/chrome/installer/util/google_update_util.cc |
@@ -95,8 +95,7 @@ bool LaunchProcessAndWaitWithTimeout(const base::string16& cmd_string, |
base::LaunchProcess(cmd_string, base::LaunchOptions()); |
if (!process.IsValid()) { |
PLOG(ERROR) << "Failed to launch (" << cmd_string << ")"; |
- } else if (!base::WaitForExitCodeWithTimeout(process.Handle(), &exit_code, |
- timeout)) { |
+ } else if (!process.WaitForExitWithTimeout(timeout, &exit_code)) { |
// The GetExitCodeProcess failed or timed-out. |
LOG(ERROR) <<"Command (" << cmd_string << ") is taking more than " |
<< timeout.InMilliseconds() << " milliseconds to complete."; |