Index: device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc |
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc |
index f3ab38516a145d9d17611c67ed8940eab3d07252..d8d029900367defb7a0fc01af7d8895132b876fe 100644 |
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc |
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc |
@@ -208,8 +208,7 @@ void BluetoothRemoteGattCharacteristicAndroid::OnChanged( |
const JavaParamRef<jobject>& jcaller, |
const JavaParamRef<jbyteArray>& value) { |
base::android::JavaByteArrayToByteVector(env, value, &value_); |
- FOR_EACH_OBSERVER(BluetoothAdapter::Observer, adapter_->GetObservers(), |
- GattCharacteristicValueChanged(adapter_, this, value_)); |
+ adapter_->NotifyGattCharacteristicValueChanged(this, value_); |
} |
void BluetoothRemoteGattCharacteristicAndroid::OnRead( |