| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
|
| index 30876f75ee136e8d7f3a7f1bcb3f9f136806a9c0..70eeb8d38a5939bffc924d2d9a2198b1577afc30 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h
|
| @@ -79,22 +79,14 @@ class BluetoothDevice final : public EventTargetWithInlineData,
|
| // ContextLifecycleObserver interface.
|
| void contextDestroyed(ExecutionContext*) override;
|
|
|
| - // If gatt is connected then sets gatt.connected to false and disconnects.
|
| - // This function only performs the necessary steps to ensure a device
|
| - // disconnects therefore it should only be used when the object is being
|
| - // garbage collected or the context is being destroyed.
|
| - void disconnectGATTIfConnected();
|
| -
|
| // Performs necessary cleanup when a device disconnects and fires
|
| // gattserverdisconnected event.
|
| - void cleanupDisconnectedDeviceAndFireEvent();
|
| + void clearAttributeInstanceMapAndFireEvent();
|
|
|
| // EventTarget methods:
|
| const AtomicString& interfaceName() const override;
|
| ExecutionContext* getExecutionContext() const override;
|
|
|
| - void dispatchGattServerDisconnected();
|
| -
|
| Bluetooth* bluetooth() { return m_bluetooth; }
|
|
|
| // Interface required by Garbage Collection:
|
|
|