Index: win8/delegate_execute/chrome_util.cc |
diff --git a/win8/delegate_execute/chrome_util.cc b/win8/delegate_execute/chrome_util.cc |
index 0f85d6dda7370048d359b234a1fd444395a8ade2..489e9fb496402eb51e5858136c5562b24d2cca09 100644 |
--- a/win8/delegate_execute/chrome_util.cc |
+++ b/win8/delegate_execute/chrome_util.cc |
@@ -147,9 +147,8 @@ void UpdateChromeIfNeeded(const base::FilePath& chrome_exe) { |
// Wait for the update to complete and report the results. |
if (process.IsValid()) { |
int exit_code = 0; |
- if (!base::WaitForExitCodeWithTimeout( |
- process.Handle(), &exit_code, |
- base::TimeDelta::FromMilliseconds(INFINITE))) { |
+ if (!process.WaitForExitWithTimeout( |
+ base::TimeDelta::FromMilliseconds(INFINITE), &exit_code)) { |
AtlTrace("%hs. Failed to get result when finalizing update.\n", |
__FUNCTION__); |
} else if (exit_code != installer::RENAME_SUCCESSFUL) { |