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

Unified Diff: win8/test/metro_registration_helper.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 | « win8/delegate_execute/chrome_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/test/metro_registration_helper.cc
diff --git a/win8/test/metro_registration_helper.cc b/win8/test/metro_registration_helper.cc
index 160f602e2aba683408a6bd837078bbebe04f8e46..00f5b995d7f2a24418aa9ec653f6b30cab2c3886 100644
--- a/win8/test/metro_registration_helper.cc
+++ b/win8/test/metro_registration_helper.cc
@@ -58,9 +58,8 @@ bool RegisterTestDefaultBrowser() {
base::LaunchOptions());
if (register_process.IsValid()) {
int ret = 0;
- if (base::WaitForExitCodeWithTimeout(
- register_process.Handle(), &ret,
- base::TimeDelta::FromSeconds(kRegistrationTimeoutSeconds))) {
+ if (register_process.WaitForExitWithTimeout(
+ base::TimeDelta::FromSeconds(kRegistrationTimeoutSeconds), &ret)) {
if (ret == 0) {
return true;
} else {
« no previous file with comments | « win8/delegate_execute/chrome_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698