diff options
Diffstat (limited to 'win8/test/metro_registration_helper.cc')
-rw-r--r-- | win8/test/metro_registration_helper.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win8/test/metro_registration_helper.cc b/win8/test/metro_registration_helper.cc index 160f602..00f5b99 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 { |