diff options
author | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-07 06:15:53 +0000 |
---|---|---|
committer | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-07 06:15:53 +0000 |
commit | 5210d592110f837ea556551f4bf480a1c0ba97ef (patch) | |
tree | 65d85019008680d3e188774f4e1a0b7035a01653 /ipc/ipc_channel_posix.cc | |
parent | 231f7a25d46e825262d843203c2208aa888bf612 (diff) | |
download | chromium_src-5210d592110f837ea556551f4bf480a1c0ba97ef.zip chromium_src-5210d592110f837ea556551f4bf480a1c0ba97ef.tar.gz chromium_src-5210d592110f837ea556551f4bf480a1c0ba97ef.tar.bz2 |
IPC::Channel: Reduce POSIX specific API surface
This change is a simple cleanup: It removes some Channel API
that is only used only in POSIX specific tests. These
funtions still live in ChannelPosix. POSIX speicific tests
now touch ChannelPosix instead of its superclass Channel.
TEST=none
R=darin@chromium.org, jam@chromium.org
BUG=377980
Review URL: https://codereview.chromium.org/320433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_posix.cc')
-rw-r--r-- | ipc/ipc_channel_posix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc index 3972788..8ddf73a 100644 --- a/ipc/ipc_channel_posix.cc +++ b/ipc/ipc_channel_posix.cc @@ -1056,8 +1056,8 @@ 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 make_scoped_ptr(new ChannelPosix( + channel_handle, mode, listener)).PassAs<Channel>(); } // static |