Index: mojo/edk/system/message_pipe_test_utils.cc |
diff --git a/mojo/edk/system/message_pipe_test_utils.cc b/mojo/edk/system/message_pipe_test_utils.cc |
index 45215757efcff3fde106e64c335c4c3536655050..4e8510f2ef47c1377e117a6e3eea56a817bf1502 100644 |
--- a/mojo/edk/system/message_pipe_test_utils.cc |
+++ b/mojo/edk/system/message_pipe_test_utils.cc |
@@ -73,7 +73,7 @@ void ChannelThread::Stop() { |
void ChannelThread::InitChannelOnIOThread( |
embedder::ScopedPlatformHandle platform_handle, |
RefPtr<ChannelEndpoint> channel_endpoint) { |
- CHECK_EQ(base::MessageLoop::current(), test_io_thread_.message_loop()); |
+ CHECK(test_io_thread_.IsCurrentAndRunning()); |
CHECK(platform_handle.is_valid()); |
// Create and initialize |Channel|. |