Index: components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc |
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc b/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc |
index 476de39a8fd4e1ecb8752bebbe57b12f1bdc0a14..3ea9afa207d9fdc27ff5b677ba7347e068fd547c 100644 |
--- a/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc |
+++ b/components/proximity_auth/ble/bluetooth_low_energy_weave_client_connection_unittest.cc |
@@ -486,7 +486,7 @@ class ProximityAuthBluetoothLowEnergyWeaveClientConnectionTest |
// Store an alias for the notify session passed |connection|. |
std::unique_ptr<device::MockBluetoothGattNotifySession> notify_session( |
new NiceMock<device::MockBluetoothGattNotifySession>( |
- kTXCharacteristicID)); |
+ tx_characteristic_->GetWeakPtr())); |
notify_session_alias_ = notify_session.get(); |
notify_session_success_callback_.Run(std::move(notify_session)); |