diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/bluetooth/bluetooth_device.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/bluetooth/bluetooth_device.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chromium/third_party/blink/renderer/modules/bluetooth/bluetooth_device.cc b/chromium/third_party/blink/renderer/modules/bluetooth/bluetooth_device.cc index daa05e73043..195ecbfdb1a 100644 --- a/chromium/third_party/blink/renderer/modules/bluetooth/bluetooth_device.cc +++ b/chromium/third_party/blink/renderer/modules/bluetooth/bluetooth_device.cc @@ -222,12 +222,6 @@ void BluetoothDevice::WatchAdvertisementsCallback( if (!watch_advertisements_resolver_) return; - if (!watch_advertisements_resolver_->GetExecutionContext() || - watch_advertisements_resolver_->GetExecutionContext() - ->IsContextDestroyed()) { - return; - } - // https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothdevice-watchadvertisements // 2.2.2. If the UA fails to enable scanning, queue a task to perform the // following steps, and abort these steps: |