Index: mojo/system/remote_message_pipe_unittest.cc |
diff --git a/mojo/system/remote_message_pipe_unittest.cc b/mojo/system/remote_message_pipe_unittest.cc |
index be4e8bee34a08d4cb6d5c92b2d016c77f2f7e665..e3bff2b0549b7711e5213a8bd981f49adac74879 100644 |
--- a/mojo/system/remote_message_pipe_unittest.cc |
+++ b/mojo/system/remote_message_pipe_unittest.cc |
@@ -20,6 +20,7 @@ |
#include "mojo/system/message_pipe.h" |
#include "mojo/system/message_pipe_dispatcher.h" |
#include "mojo/system/proxy_message_pipe_endpoint.h" |
+#include "mojo/system/raw_channel.h" |
#include "mojo/system/test_utils.h" |
#include "mojo/system/waiter.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -109,7 +110,7 @@ class RemoteMessagePipeTest : public testing::Test { |
channels_[channel_index] = new Channel(); |
CHECK(channels_[channel_index]->Init( |
- platform_handles_[channel_index].Pass())); |
+ RawChannel::Create(platform_handles_[channel_index].Pass()))); |
} |
void ConnectMessagePipesOnIOThread(scoped_refptr<MessagePipe> mp0, |