summaryrefslogtreecommitdiffstats
path: root/ipc/mojo
diff options
context:
space:
mode:
authoryzshen <yzshen@chromium.org>2015-05-05 09:31:04 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-05 16:32:44 +0000
commit0b7f61182eaff389cb5394bde747acd1d3a7304c (patch)
tree3e66b839af178f1daf2529cef37d06256087005b /ipc/mojo
parent86cfd3347778a31174b1a6dd5032db808e8e8289 (diff)
downloadchromium_src-0b7f61182eaff389cb5394bde747acd1d3a7304c.zip
chromium_src-0b7f61182eaff389cb5394bde747acd1d3a7304c.tar.gz
chromium_src-0b7f61182eaff389cb5394bde747acd1d3a7304c.tar.bz2
Change the callsites of InterfacePtr<> methods which directly deal with message pipe handles.
Because those methods are going to be removed. BUG=None Committed: https://crrev.com/99f65895acf2086af0755b9ea865d6ded4baecd6 Cr-Commit-Position: refs/heads/master@{#328232} Review URL: https://codereview.chromium.org/1120753004 Cr-Commit-Position: refs/heads/master@{#328341}
Diffstat (limited to 'ipc/mojo')
-rw-r--r--ipc/mojo/ipc_channel_mojo.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipc/mojo/ipc_channel_mojo.cc b/ipc/mojo/ipc_channel_mojo.cc
index b7192da..cff2789 100644
--- a/ipc/mojo/ipc_channel_mojo.cc
+++ b/ipc/mojo/ipc_channel_mojo.cc
@@ -156,7 +156,9 @@ void ServerChannelMojo::OnPipeAvailable(
return;
}
- client_channel_.Bind(CreateMessagingPipe(handle.Pass()));
+ client_channel_.Bind(
+ mojo::InterfacePtrInfo<ClientChannel>(
+ CreateMessagingPipe(handle.Pass()), 0u));
client_channel_.set_error_handler(this);
client_channel_->Init(
peer.Pass(),