summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/api
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 /extensions/renderer/api
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 'extensions/renderer/api')
-rw-r--r--extensions/renderer/api/serial/data_receiver_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/renderer/api/serial/data_receiver_unittest.cc b/extensions/renderer/api/serial/data_receiver_unittest.cc
index 1be15969..623fcbf 100644
--- a/extensions/renderer/api/serial/data_receiver_unittest.cc
+++ b/extensions/renderer/api/serial/data_receiver_unittest.cc
@@ -38,7 +38,7 @@ class DataReceiverFactory : public gin::Wrappable<DataReceiverFactory> {
callback_.Run(mojo::GetProxy(&sink), client.Pass());
gin::Dictionary result = gin::Dictionary::CreateEmpty(isolate_);
- result.Set("source", sink.PassMessagePipe().release());
+ result.Set("source", sink.PassInterface().PassHandle().release());
result.Set("client", client_request.PassMessagePipe().release());
return result;
}