Chromium Code Reviews| Index: extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc |
| diff --git a/extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc b/extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc |
| index 1aa75322862e99a797123862fdaddc7017136006..49d61e37e143da5ff23a7758c6252e4838e8c2e7 100644 |
| --- a/extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc |
| +++ b/extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc |
| @@ -606,8 +606,7 @@ void BluetoothSocketSendFunction::AsyncWorkStart() { |
| return; |
| } |
| - socket->Send(io_buffer_, |
| - io_buffer_size_, |
| + socket->Send(io_buffer_, static_cast<int>(io_buffer_size_), |
|
Devlin
2016/09/13 17:10:49
? This seems orthogonal to this CL.
Rahul Chaturvedi
2016/09/13 20:33:49
So these are actually real build errors - which fo
|
| base::Bind(&BluetoothSocketSendFunction::OnSuccess, this), |
| base::Bind(&BluetoothSocketSendFunction::OnError, this)); |
| } |