diff options
Diffstat (limited to 'win8/delegate_execute')
-rw-r--r-- | win8/delegate_execute/chrome_util.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win8/delegate_execute/chrome_util.cc b/win8/delegate_execute/chrome_util.cc index 0f85d6dd..489e9fb 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) { |