Index: ipc/mojo/ipc_channel_mojo.cc |
diff --git a/ipc/mojo/ipc_channel_mojo.cc b/ipc/mojo/ipc_channel_mojo.cc |
index 88034f1c6593b7170a86ff30be60f3151e333d31..cdb928175dabcfda3104553ad88846b026b952b6 100644 |
--- a/ipc/mojo/ipc_channel_mojo.cc |
+++ b/ipc/mojo/ipc_channel_mojo.cc |
@@ -456,19 +456,11 @@ void ChannelMojo::ChannelInfoDeleter::operator()( |
// static |
scoped_ptr<ChannelMojo> ChannelMojo::Create( |
- scoped_ptr<Channel> bootstrap, Mode mode, Listener* listener, |
- scoped_refptr<base::TaskRunner> io_thread_task_runner) { |
- return make_scoped_ptr(new ChannelMojo( |
- bootstrap.Pass(), mode, listener, io_thread_task_runner)); |
-} |
- |
-// static |
-scoped_ptr<ChannelMojo> ChannelMojo::Create( |
const ChannelHandle &channel_handle, Mode mode, Listener* listener, |
scoped_refptr<base::TaskRunner> io_thread_task_runner) { |
- return Create( |
+ return make_scoped_ptr(new ChannelMojo( |
Channel::Create(channel_handle, mode, g_null_listener.Pointer()), |
- mode, listener, io_thread_task_runner); |
+ mode, listener, io_thread_task_runner)); |
} |
// static |