Index: ipc/ipc_channel_unittest.cc |
diff --git a/ipc/ipc_channel_unittest.cc b/ipc/ipc_channel_unittest.cc |
index fb1e6a631a11765ff7324bcb8cb78d500974e116..9bcc34e88d1478489a1ca734ca392f34d0e06363 100644 |
--- a/ipc/ipc_channel_unittest.cc |
+++ b/ipc/ipc_channel_unittest.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "base/run_loop.h" |
#include "build/build_config.h" |
#if defined(OS_WIN) |
@@ -78,7 +79,7 @@ TEST_F(IPCChannelTest, ChannelTestExistingPipe) { |
IPC::TestChannelListener::SendOneMessage(sender(), "hello from parent"); |
// Run message loop. |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
// Close the channel so the client's OnChannelError() gets fired. |
channel()->Close(); |