| 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 {
|
|
|