Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: device/bluetooth/bluez/bluetooth_adapter_bluez.cc

Issue 1973343005: Remove service, add device, in BluetoothLocalGattService::Delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluez/bluetooth_adapter_bluez.cc
diff --git a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
index 6a0a1147dc37f09517792a1115c6dc136ad6ffb9..0ab81e4746454401a5ec801f07e6a28784da5664 100644
--- a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
@@ -1145,7 +1145,9 @@ bool BluetoothAdapterBlueZ::SendValueChanged(
BluetoothLocalGattCharacteristicBlueZ* characteristic,
const std::vector<uint8_t>& value) {
if (registered_gatt_services_.count(
- characteristic->GetService()->object_path()) == 0)
+ static_cast<BluetoothLocalGattServiceBlueZ*>(
+ characteristic->GetService())
+ ->object_path()) == 0)
return false;
gatt_application_provider_->SendValueChanged(characteristic->object_path(),
value);
« no previous file with comments | « device/bluetooth/bluetooth_local_gatt_service.h ('k') | device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698