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 9696014ad514ab984fbdfcda1327346f8a7e5241..1b8c74d445966757499c2ccd21fabf1d4433b93e 100644 |
--- a/chrome/installer/util/google_update_util.cc |
+++ b/chrome/installer/util/google_update_util.cc |
@@ -95,7 +95,8 @@ bool LaunchProcessAndWaitWithTimeout(const base::string16& cmd_string, |
if (!base::LaunchProcess(cmd_string, base::LaunchOptions(), |
&process)) { |
PLOG(ERROR) << "Failed to launch (" << cmd_string << ")"; |
- } else if (!base::WaitForExitCodeWithTimeout(process, &exit_code, timeout)) { |
+ } else if (!base::WaitForExitCodeWithTimeout(process.Get(), &exit_code, |
+ timeout)) { |
// The GetExitCodeProcess failed or timed-out. |
LOG(ERROR) <<"Command (" << cmd_string << ") is taking more than " |
<< timeout.InMilliseconds() << " milliseconds to complete."; |