| Index: content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc
|
| diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc b/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc
|
| index eb554d4d8595714f37a7b6c0ed4ead1fec41a9a3..16f613fb9e262d26a27454eee54617e2a1454044 100644
|
| --- a/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc
|
| +++ b/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc
|
| @@ -1124,7 +1124,7 @@
|
| .WillByDefault(RunCallbackWithResult<0 /* success_callback */>(
|
| [adapter, measurement_ptr]() {
|
| std::unique_ptr<NiceMockBluetoothGattNotifySession> notify_session(
|
| - GetBaseGATTNotifySession(measurement_ptr->GetWeakPtr()));
|
| + GetBaseGATTNotifySession(measurement_ptr->GetIdentifier()));
|
|
|
| std::vector<uint8_t> rate(1 /* size */);
|
| rate[0] = 60;
|
| @@ -1253,9 +1253,9 @@
|
| // static
|
| std::unique_ptr<NiceMockBluetoothGattNotifySession>
|
| LayoutTestBluetoothAdapterProvider::GetBaseGATTNotifySession(
|
| - base::WeakPtr<device::BluetoothRemoteGattCharacteristic> characteristic) {
|
| + const std::string& characteristic_identifier) {
|
| std::unique_ptr<NiceMockBluetoothGattNotifySession> session(
|
| - new NiceMockBluetoothGattNotifySession(characteristic));
|
| + new NiceMockBluetoothGattNotifySession(characteristic_identifier));
|
|
|
| ON_CALL(*session, Stop(_))
|
| .WillByDefault(testing::DoAll(
|
|
|