diff options
author | yzshen <yzshen@chromium.org> | 2015-05-04 17:24:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-05 00:24:54 +0000 |
commit | 99f65895acf2086af0755b9ea865d6ded4baecd6 (patch) | |
tree | a87fc4993a8d0d607fafae23ec94fbf7124c7a51 /extensions/renderer/api | |
parent | 9ce8047a312cede6d26b8387ac73ac8c386c6994 (diff) | |
download | chromium_src-99f65895acf2086af0755b9ea865d6ded4baecd6.zip chromium_src-99f65895acf2086af0755b9ea865d6ded4baecd6.tar.gz chromium_src-99f65895acf2086af0755b9ea865d6ded4baecd6.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
Review URL: https://codereview.chromium.org/1120753004
Cr-Commit-Position: refs/heads/master@{#328232}
Diffstat (limited to 'extensions/renderer/api')
-rw-r--r-- | extensions/renderer/api/serial/data_receiver_unittest.cc | 2 |
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; } |