| Index: device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.cc
|
| diff --git a/device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.cc b/device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.cc
|
| index 836b40c90100c292ffeb0c5467aad2561440fdbe..fc83b85ca48ad48658bb41653998335c5ce08fac 100644
|
| --- a/device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.cc
|
| +++ b/device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.cc
|
| @@ -17,7 +17,7 @@ void BluetoothGattDescriptorDelegateWrapper::GetValue(
|
| const device::BluetoothLocalGattService::Delegate::ValueCallback& callback,
|
| const device::BluetoothLocalGattService::Delegate::ErrorCallback&
|
| error_callback) {
|
| - service_->GetDelegate()->OnDescriptorReadRequest(service_, descriptor_, 0,
|
| + service_->GetDelegate()->OnDescriptorReadRequest(nullptr, descriptor_, 0,
|
| callback, error_callback);
|
| }
|
|
|
| @@ -27,7 +27,7 @@ void BluetoothGattDescriptorDelegateWrapper::SetValue(
|
| const device::BluetoothLocalGattService::Delegate::ErrorCallback&
|
| error_callback) {
|
| service_->GetDelegate()->OnDescriptorWriteRequest(
|
| - service_, descriptor_, value, 0, callback, error_callback);
|
| + nullptr, descriptor_, value, 0, callback, error_callback);
|
| }
|
|
|
| } // namespace bluez
|
|
|