Index: device/bluetooth/bluetooth_service_record_mac.mm |
diff --git a/device/bluetooth/bluetooth_service_record_mac.mm b/device/bluetooth/bluetooth_service_record_mac.mm |
index 306d5e5ec397deb90fbeb49270aaaa9c51ff98fd..ee61b9749dfb807fb7c2acf31b061ab4692f0178 100644 |
--- a/device/bluetooth/bluetooth_service_record_mac.mm |
+++ b/device/bluetooth/bluetooth_service_record_mac.mm |
@@ -66,7 +66,9 @@ BluetoothServiceRecordMac::BluetoothServiceRecordMac( |
[record getAttributeDataElement:service_class_id]; |
if ([service_class_data getTypeDescriptor] == |
kBluetoothSDPDataElementTypeDataElementSequence) { |
- ExtractUuid(service_class_data, &uuid_); |
+ std::string uuid_str; |
+ ExtractUuid(service_class_data, &uuid_str); |
+ uuid_ = BluetoothUUID(uuid_str); |
} |
} |