Chromium Code Reviews| Index: ipc/ipc_channel_posix.cc |
| diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc |
| index 3972788772eed771ecc1b3df6250492e4fece7dd..d23b82128fac31ca1e578ade8f4262e3ca72d629 100644 |
| --- a/ipc/ipc_channel_posix.cc |
| +++ b/ipc/ipc_channel_posix.cc |
| @@ -1056,8 +1056,7 @@ base::ProcessId ChannelPosix::GetPeerPID() const { |
| // static |
| scoped_ptr<Channel> Channel::Create( |
| const IPC::ChannelHandle &channel_handle, Mode mode, Listener* listener) { |
| - return scoped_ptr<Channel>( |
| - new ChannelPosix(channel_handle, mode, listener)); |
| + return ChannelPosix::Create(channel_handle, mode, listener).PassAs<Channel>(); |
|
jam
2014/06/06 14:47:13
nit: i think you forgot to update this
|
| } |
| // static |