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

Unified Diff: device/bluetooth/dbus/bluetooth_gatt_descriptor_delegate_wrapper.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/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
« no previous file with comments | « device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc ('k') | device/bluetooth/test/bluetooth_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698