| Index: mojo/system/message_pipe_dispatcher.cc
|
| diff --git a/mojo/system/message_pipe_dispatcher.cc b/mojo/system/message_pipe_dispatcher.cc
|
| index 3f08fd6658155830711ed4ef46028f7442237d1b..81f0df9548edb03cf4e94f505570ae8862e2c9a4 100644
|
| --- a/mojo/system/message_pipe_dispatcher.cc
|
| +++ b/mojo/system/message_pipe_dispatcher.cc
|
| @@ -84,9 +84,8 @@ Dispatcher::Type MessagePipeDispatcher::GetType() const {
|
| // static
|
| std::pair<scoped_refptr<MessagePipeDispatcher>, scoped_refptr<MessagePipe> >
|
| MessagePipeDispatcher::CreateRemoteMessagePipe() {
|
| - scoped_refptr<MessagePipe> message_pipe(new MessagePipe(
|
| - scoped_ptr<MessagePipeEndpoint>(new LocalMessagePipeEndpoint()),
|
| - scoped_ptr<MessagePipeEndpoint>(new ProxyMessagePipeEndpoint())));
|
| + scoped_refptr<MessagePipe> message_pipe(
|
| + new MessagePipe(MessagePipe::LocalProxy()));
|
| scoped_refptr<MessagePipeDispatcher> dispatcher(
|
| new MessagePipeDispatcher(MessagePipeDispatcher::kDefaultCreateOptions));
|
| dispatcher->Init(message_pipe, 0);
|
|
|