| Index: device/bluetooth/test/mock_bluetooth_gatt_notify_session.cc
|
| diff --git a/device/bluetooth/test/mock_bluetooth_gatt_notify_session.cc b/device/bluetooth/test/mock_bluetooth_gatt_notify_session.cc
|
| index e4123f67741db1a75d06e85469e36288f1613452..4123e2d342dbaaca59093d62c1ff4ac8538de20e 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_gatt_notify_session.cc
|
| +++ b/device/bluetooth/test/mock_bluetooth_gatt_notify_session.cc
|
| @@ -11,9 +11,8 @@ using testing::Return;
|
| namespace device {
|
|
|
| MockBluetoothGattNotifySession::MockBluetoothGattNotifySession(
|
| - const std::string& characteristic_identifier) {
|
| - ON_CALL(*this, GetCharacteristicIdentifier())
|
| - .WillByDefault(Return(characteristic_identifier));
|
| + base::WeakPtr<BluetoothRemoteGattCharacteristic> characteristic)
|
| + : BluetoothGattNotifySession(characteristic) {
|
| ON_CALL(*this, IsActive()).WillByDefault(Return(true));
|
| }
|
|
|
|
|