Chromium Code Reviews| Index: components/arc/bluetooth/arc_bluetooth_bridge.cc |
| diff --git a/components/arc/bluetooth/arc_bluetooth_bridge.cc b/components/arc/bluetooth/arc_bluetooth_bridge.cc |
| index 41725f6c8b92fb8a1c4f1d27031180e825bf6f15..d3f91bd5e1e654d25c9ad0441df62098acc3c5fa 100644 |
| --- a/components/arc/bluetooth/arc_bluetooth_bridge.cc |
| +++ b/components/arc/bluetooth/arc_bluetooth_bridge.cc |
| @@ -1542,7 +1542,7 @@ ArcBluetoothBridge::GetAdvertisingData(BluetoothDevice* device) const { |
| advertising_data.push_back(std::move(local_name)); |
| // ServiceUuid |
| - BluetoothDevice::UUIDList uuid_list = device->GetServiceDataUUIDs(); |
| + BluetoothDevice::UUIDList uuid_list = device->GetUUIDs(); |
|
Luis Héctor Chávez
2016/08/15 21:23:12
nit: const BluetoothDevice::UUIDList&
Luis Héctor Chávez
2016/08/15 21:25:43
ignore this, I double checked and the code is corr
|
| if (uuid_list.size() > 0) { |
| mojom::BluetoothAdvertisingDataPtr service_uuids = |
| mojom::BluetoothAdvertisingData::New(); |
| @@ -1552,7 +1552,7 @@ ArcBluetoothBridge::GetAdvertisingData(BluetoothDevice* device) const { |
| } |
| // Service data |
| - for (auto& uuid : uuid_list) { |
| + for (auto& uuid : device->GetServiceDataUUIDs()) { |
| base::BinaryValue* data = device->GetServiceData(uuid); |
| if (data->GetSize() == 0) |
| continue; |