summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipc/ipc_channel_posix_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_channel_posix_unittest.cc b/ipc/ipc_channel_posix_unittest.cc
index 61c21d3..e8856a9 100644
--- a/ipc/ipc_channel_posix_unittest.cc
+++ b/ipc/ipc_channel_posix_unittest.cc
@@ -177,7 +177,7 @@ void IPCChannelPosixTest::SpinRunLoop(int milliseconds) {
// in the case of a bad test. Usually, the run loop will quit sooner than
// that because all tests use a IPCChannelPosixTestListener which quits the
// current run loop on any channel activity.
- loop->PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask(), milliseconds);
+ loop->PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(), milliseconds);
loop->Run();
}