| Index: ipc/ipc_channel_posix_unittest.cc
|
| diff --git a/ipc/ipc_channel_posix_unittest.cc b/ipc/ipc_channel_posix_unittest.cc
|
| index 7280e450fc73aa1471fe597e9bd5a191f810188e..78cb7453e030372d45f69b9f95463420f7ee8361 100644
|
| --- a/ipc/ipc_channel_posix_unittest.cc
|
| +++ b/ipc/ipc_channel_posix_unittest.cc
|
| @@ -18,7 +18,7 @@
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/path_service.h"
|
| #include "base/posix/eintr_wrapper.h"
|
| -#include "base/process/kill.h"
|
| +#include "base/process/process.h"
|
| #include "base/test/multiprocess_test.h"
|
| #include "base/test/test_timeouts.h"
|
| #include "ipc/ipc_listener.h"
|
| @@ -339,7 +339,7 @@ TEST_F(IPCChannelPosixTest, ResetState) {
|
| IPC::Message::PRIORITY_NORMAL);
|
| channel->Send(message);
|
| SpinRunLoop(TestTimeouts::action_timeout());
|
| - EXPECT_TRUE(base::KillProcess(process.Handle(), 0, false));
|
| + EXPECT_TRUE(process.Terminate(0, false));
|
| int exit_code = 0;
|
| EXPECT_TRUE(process2.WaitForExit(&exit_code));
|
| EXPECT_EQ(0, exit_code);
|
|
|