Index: trunk/src/device/bluetooth/bluetooth_device_mac.mm |
=================================================================== |
--- trunk/src/device/bluetooth/bluetooth_device_mac.mm (revision 261569) |
+++ trunk/src/device/bluetooth/bluetooth_device_mac.mm (working copy) |
@@ -179,11 +179,10 @@ |
} |
void BluetoothDeviceMac::ConnectToService( |
- const device::BluetoothUUID& service_uuid, |
+ const std::string& service_uuid, |
const SocketCallback& callback) { |
IOBluetoothSDPServiceRecord* record = |
- [device_ getServiceRecordForUUID:GetIOBluetoothSDPUUID( |
- service_uuid.canonical_value())]; |
+ [device_ getServiceRecordForUUID:GetIOBluetoothSDPUUID(service_uuid)]; |
if (record != nil) { |
BluetoothServiceRecordMac service_record(record); |
scoped_refptr<BluetoothSocket> socket( |