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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_characteristic.cc

Issue 2644463005: Bluetooth: macOS: Cancelling StopNotifySession commands. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_remote_gatt_characteristic.cc
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic.cc b/device/bluetooth/bluetooth_remote_gatt_characteristic.cc
index 8c94e7a5a64609be5e95beced0948ea2caeaf53c..77cd0a3aa3daebe1049c4a3579a719a023d8e1b6 100644
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic.cc
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic.cc
@@ -235,7 +235,8 @@ void BluetoothRemoteGattCharacteristic::StopNotifySession(
NotifySessionCommand* command = new NotifySessionCommand(
base::Bind(&BluetoothRemoteGattCharacteristic::ExecuteStopNotifySession,
GetWeakPtr(), session, callback),
- callback /* cancel_callback */);
+ base::Bind(&BluetoothRemoteGattCharacteristic::CancelStopNotifySession,
+ GetWeakPtr(), callback));
pending_notify_commands_.push(std::unique_ptr<NotifySessionCommand>(command));
if (pending_notify_commands_.size() == 1) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698