Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11831)

Unified Diff: device/serial/serial_connection_factory.cc

Issue 1143013002: Remove mojo::InterfaceImpl from device/serial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/serial/serial_connection.cc ('k') | device/serial/serial_connection_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_connection_factory.cc
diff --git a/device/serial/serial_connection_factory.cc b/device/serial/serial_connection_factory.cc
index 654b3e840f5d5f0455e1db50e4f59ead83f3d9e6..f45b9a683a6b8c5de97541341893a247ae2db5d3 100644
--- a/device/serial/serial_connection_factory.cc
+++ b/device/serial/serial_connection_factory.cc
@@ -125,10 +125,8 @@ void SerialConnectionFactory::ConnectTask::OnConnected(bool success) {
return;
}
- mojo::BindToRequest(
- new SerialConnection(io_handler_, sink_.Pass(), source_.Pass(),
- source_client_.Pass()),
- &connection_request_);
+ new SerialConnection(io_handler_, sink_.Pass(), source_.Pass(),
+ source_client_.Pass(), connection_request_.Pass());
}
} // namespace device
« no previous file with comments | « device/serial/serial_connection.cc ('k') | device/serial/serial_connection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698