Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: win8/delegate_execute/chrome_util.cc

Issue 927443004: Remove uses of WaitForExitCodeWithTimeout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/google_update_util.cc ('k') | win8/test/metro_registration_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « chrome/installer/util/google_update_util.cc ('k') | win8/test/metro_registration_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698