summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-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 623fcbf..1be15969 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.PassInterface().PassHandle().release());
+ result.Set("source", sink.PassMessagePipe().release());
result.Set("client", client_request.PassMessagePipe().release());
return result;
}