Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / device / bluetooth / bluetooth_service_record_mac.mm
index 306d5e5..ee61b97 100644 (file)
@@ -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);
   }
 }