summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorrvargas <rvargas@chromium.org>2015-03-17 18:36:33 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-18 01:37:05 +0000
commit486b2f5612c0f9711d6fced550d7ed904fea4319 (patch)
tree2c47ea91fe136b689fac00badd324d18e94e58e7 /ipc
parent0017478eedcbdb70040454ef30f1993ee7752f05 (diff)
downloadchromium_src-486b2f5612c0f9711d6fced550d7ed904fea4319.zip
chromium_src-486b2f5612c0f9711d6fced550d7ed904fea4319.tar.gz
chromium_src-486b2f5612c0f9711d6fced550d7ed904fea4319.tar.bz2
Remove uses of KillProcess()
BUG=417532 Review URL: https://codereview.chromium.org/999033003 Cr-Commit-Position: refs/heads/master@{#321045}
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_channel_posix_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_channel_posix_unittest.cc b/ipc/ipc_channel_posix_unittest.cc
index 7280e45..78cb745 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);