| Index: device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc
|
| diff --git a/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc b/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc
|
| index 08511ea1928b826b9dfc48ee703fa932be6de672..3373da0d6ba7f87b0e14bd3d8754ca930207456b 100644
|
| --- a/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc
|
| +++ b/device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc
|
| @@ -19,7 +19,7 @@ void BluetoothGattCharacteristicDelegateWrapper::GetValue(
|
| const device::BluetoothLocalGattService::Delegate::ErrorCallback&
|
| error_callback) {
|
| service_->GetDelegate()->OnCharacteristicReadRequest(
|
| - service_, characteristic_, 0, callback, error_callback);
|
| + nullptr, characteristic_, 0, callback, error_callback);
|
| }
|
|
|
| void BluetoothGattCharacteristicDelegateWrapper::SetValue(
|
| @@ -28,15 +28,15 @@ void BluetoothGattCharacteristicDelegateWrapper::SetValue(
|
| const device::BluetoothLocalGattService::Delegate::ErrorCallback&
|
| error_callback) {
|
| service_->GetDelegate()->OnCharacteristicWriteRequest(
|
| - service_, characteristic_, value, 0, callback, error_callback);
|
| + nullptr, characteristic_, value, 0, callback, error_callback);
|
| }
|
|
|
| void BluetoothGattCharacteristicDelegateWrapper::StartNotifications() {
|
| - service_->GetDelegate()->OnNotificationsStart(service_, characteristic_);
|
| + service_->GetDelegate()->OnNotificationsStart(nullptr, characteristic_);
|
| }
|
|
|
| void BluetoothGattCharacteristicDelegateWrapper::StopNotifications() {
|
| - service_->GetDelegate()->OnNotificationsStop(service_, characteristic_);
|
| + service_->GetDelegate()->OnNotificationsStop(nullptr, characteristic_);
|
| }
|
|
|
| } // namespace bluez
|
|
|