| Index: mojo/system/message_pipe_dispatcher.cc
|
| diff --git a/mojo/system/message_pipe_dispatcher.cc b/mojo/system/message_pipe_dispatcher.cc
|
| index dac0d3038151ad6381fc17f22be1a8996c9ba1fa..f61ec6c8d737177f53773d011588e9489774ff0d 100644
|
| --- a/mojo/system/message_pipe_dispatcher.cc
|
| +++ b/mojo/system/message_pipe_dispatcher.cc
|
| @@ -84,9 +84,7 @@ 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(MessagePipe::CreateLocalProxy());
|
| scoped_refptr<MessagePipeDispatcher> dispatcher(
|
| new MessagePipeDispatcher(MessagePipeDispatcher::kDefaultCreateOptions));
|
| dispatcher->Init(message_pipe, 0);
|
|
|