| Index: mojo/system/channel.cc
|
| diff --git a/mojo/system/channel.cc b/mojo/system/channel.cc
|
| index 97d60ad94b78a052d2a45e250aced6e97d446532..a4e1dcbf67d35283c7a0cbaa99448eedd8bcea4f 100644
|
| --- a/mojo/system/channel.cc
|
| +++ b/mojo/system/channel.cc
|
| @@ -112,7 +112,7 @@ MessageInTransit::EndpointId Channel::AttachMessagePipeEndpoint(
|
| local_id = next_local_id_;
|
| next_local_id_++;
|
| local_id_to_endpoint_map_[local_id] =
|
| - new ChannelEndpoint(message_pipe, port);
|
| + new ChannelEndpoint(message_pipe.get(), port);
|
| }
|
|
|
| // This might fail if that port got an |OnPeerClose()| before attaching.
|
|
|