| Index: ipc/ipc_test_base.cc
|
| diff --git a/ipc/ipc_test_base.cc b/ipc/ipc_test_base.cc
|
| index 17fce0baace389c355d277ef58c82a91d3fa0b43..745d0b4a9cc738cfa75240b59bbaa3c8d0495640 100644
|
| --- a/ipc/ipc_test_base.cc
|
| +++ b/ipc/ipc_test_base.cc
|
| @@ -142,8 +142,9 @@ bool IPCTestBase::StartClient() {
|
| bool IPCTestBase::WaitForClientShutdown() {
|
| DCHECK(client_process_.IsValid());
|
|
|
| - bool rv = base::WaitForSingleProcess(client_process_.Handle(),
|
| - base::TimeDelta::FromSeconds(5));
|
| + int exit_code;
|
| + bool rv = client_process_.WaitForExitWithTimeout(
|
| + base::TimeDelta::FromSeconds(5), &exit_code);
|
| client_process_.Close();
|
| return rv;
|
| }
|
|
|