Index: mojo/system/core.cc |
diff --git a/mojo/system/core.cc b/mojo/system/core.cc |
index 6516a8f9782bad835f93f4ab89be0a2effe3af62..5e946092f5273aec2aa93f1ab207b654fe656301 100644 |
--- a/mojo/system/core.cc |
+++ b/mojo/system/core.cc |
@@ -208,7 +208,7 @@ MojoResult Core::CreateMessagePipe( |
return MOJO_RESULT_RESOURCE_EXHAUSTED; |
} |
- scoped_refptr<MessagePipe> message_pipe(new MessagePipe()); |
+ scoped_refptr<MessagePipe> message_pipe(MessagePipe::CreateLocalLocal()); |
dispatcher0->Init(message_pipe, 0); |
dispatcher1->Init(message_pipe, 1); |