Index: content/browser/bluetooth/web_bluetooth_service_impl.cc |
diff --git a/content/browser/bluetooth/web_bluetooth_service_impl.cc b/content/browser/bluetooth/web_bluetooth_service_impl.cc |
index 1fad90e2394dda6ca30203bc7088058d0b59d39f..58c697a30b7207bf3a35aa93cb934e58574103b9 100644 |
--- a/content/browser/bluetooth/web_bluetooth_service_impl.cc |
+++ b/content/browser/bluetooth/web_bluetooth_service_impl.cc |
@@ -529,11 +529,10 @@ void WebBluetoothServiceImpl::RemoteCharacteristicGetDescriptors( |
return; |
} |
- auto descriptors = |
- descriptors_uuid |
- ? query_result.device->GetDescriptorsByUUID( |
- query_result.characteristic, descriptors_uuid.value()) |
- : query_result.characteristic->GetDescriptors(); |
+ auto descriptors = descriptors_uuid |
+ ? query_result.characteristic->GetDescriptorsByUUID( |
+ descriptors_uuid.value()) |
+ : query_result.characteristic->GetDescriptors(); |
std::vector<blink::mojom::WebBluetoothRemoteGATTDescriptorPtr> |
response_descriptors; |