| Index: content/browser/bluetooth/bluetooth_device_chooser_controller.cc
|
| diff --git a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
|
| index b2d6149216924999b2166eef2ef619802e09827d..fdbaa1b0e44c069d93e848e6861c4c8c5989721f 100644
|
| --- a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
|
| +++ b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
|
| @@ -106,9 +106,7 @@ bool MatchesFilter(const device::BluetoothDevice& device,
|
| }
|
|
|
| if (!filter->services.is_null()) {
|
| - const auto& device_uuid_list = device.GetUUIDs();
|
| - const std::unordered_set<BluetoothUUID, device::BluetoothUUIDHash>
|
| - device_uuids(device_uuid_list.begin(), device_uuid_list.end());
|
| + const device::BluetoothDevice::UUIDSet& device_uuids = device.GetUUIDs();
|
| for (const base::Optional<BluetoothUUID>& service : filter->services) {
|
| if (!base::ContainsKey(device_uuids, service.value())) {
|
| return false;
|
|
|