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

Unified Diff: device/bluetooth/bluetooth_socket_net.cc

Issue 507053002: Remove implicit conversions from scoped_refptr to T* in device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Regenerate Created 6 years, 4 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 | « no previous file | device/bluetooth/bluetooth_socket_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_socket_net.cc
diff --git a/device/bluetooth/bluetooth_socket_net.cc b/device/bluetooth/bluetooth_socket_net.cc
index f00ef2b26c51e85b68e50a46ba4b9603f6425794..eb3776ca77aab0f4876fa95d9c217d580ebc2f53 100644
--- a/device/bluetooth/bluetooth_socket_net.cc
+++ b/device/bluetooth/bluetooth_socket_net.cc
@@ -258,7 +258,7 @@ void BluetoothSocketNet::SendFrontWriteRequest() {
request->success_callback,
request->error_callback);
int send_result =
- tcp_socket_->Write(request->buffer, request->buffer_size, callback);
+ tcp_socket_->Write(request->buffer.get(), request->buffer_size, callback);
if (send_result != net::ERR_IO_PENDING) {
callback.Run(send_result);
}
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_socket_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698