diff options
author | dcheng <dcheng@chromium.org> | 2014-10-16 17:43:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-17 00:45:11 +0000 |
commit | ecc340fd9380bca553f497a7b2c3274f6ad41eef (patch) | |
tree | 4331d1830ec2f260a93c5350cf043d22f780996c /ipc/ipc_channel_posix.cc | |
parent | d355b341dc90c30761681de000da4cf59cd794ac (diff) | |
download | chromium_src-ecc340fd9380bca553f497a7b2c3274f6ad41eef.zip chromium_src-ecc340fd9380bca553f497a7b2c3274f6ad41eef.tar.gz chromium_src-ecc340fd9380bca553f497a7b2c3274f6ad41eef.tar.bz2 |
Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>.
BUG=423621
Review URL: https://codereview.chromium.org/660913002
Cr-Commit-Position: refs/heads/master@{#300030}
Diffstat (limited to 'ipc/ipc_channel_posix.cc')
-rw-r--r-- | ipc/ipc_channel_posix.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc index 79a6acd..2dfd17e 100644 --- a/ipc/ipc_channel_posix.cc +++ b/ipc/ipc_channel_posix.cc @@ -1054,8 +1054,7 @@ base::ProcessId ChannelPosix::GetSelfPID() const { // static scoped_ptr<Channel> Channel::Create( const IPC::ChannelHandle &channel_handle, Mode mode, Listener* listener) { - return make_scoped_ptr(new ChannelPosix( - channel_handle, mode, listener)).PassAs<Channel>(); + return make_scoped_ptr(new ChannelPosix(channel_handle, mode, listener)); } // static |