| Index: device/bluetooth/bluetooth_profile_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_profile_mac.mm b/device/bluetooth/bluetooth_profile_mac.mm
|
| index 4956651eac6cd0fdae94863caed6478482fed589..54781e4e6e263cb5c483a5cf5b9fee9786fb8376 100644
|
| --- a/device/bluetooth/bluetooth_profile_mac.mm
|
| +++ b/device/bluetooth/bluetooth_profile_mac.mm
|
| @@ -46,7 +46,7 @@ IOBluetoothSDPUUID* GetIOBluetoothSDPUUID(const std::string& uuid) {
|
|
|
| namespace device {
|
|
|
| -BluetoothProfileMac::BluetoothProfileMac(const std::string& uuid,
|
| +BluetoothProfileMac::BluetoothProfileMac(const BluetoothUUID& uuid,
|
| const std::string& name)
|
| : BluetoothProfile(), uuid_(uuid), name_(name) {
|
| }
|
| @@ -68,7 +68,8 @@ bool BluetoothProfileMac::Connect(IOBluetoothDevice* device) {
|
| return false;
|
|
|
| IOBluetoothSDPServiceRecord* record =
|
| - [device getServiceRecordForUUID:GetIOBluetoothSDPUUID(uuid_)];
|
| + [device getServiceRecordForUUID:GetIOBluetoothSDPUUID(
|
| + uuid_.canonical_value())];
|
| if (record != nil) {
|
| scoped_refptr<BluetoothSocket> socket(
|
| BluetoothSocketMac::CreateBluetoothSocket(record));
|
|
|