| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
|
| index 0e06f8a70f373a2870f798ecdf9fd7004ce4ac31..8356a0664bf294a7938c1236ae7589e9717dbbc3 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
|
| @@ -66,8 +66,7 @@ class GetCharacteristicsCallback
|
|
|
| void onSuccess(const WebVector<WebBluetoothRemoteGATTCharacteristicInit*>&
|
| webCharacteristics) override {
|
| - if (!m_resolver->getExecutionContext() ||
|
| - m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| + if (!m_resolver->getExecutionContext())
|
| return;
|
|
|
| // If the resolver is not in the set of ActiveAlgorithms then the frame
|
| @@ -100,8 +99,7 @@ class GetCharacteristicsCallback
|
| int32_t
|
| error /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */)
|
| override {
|
| - if (!m_resolver->getExecutionContext() ||
|
| - m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| + if (!m_resolver->getExecutionContext())
|
| return;
|
|
|
| // If the resolver is not in the set of ActiveAlgorithms then the frame
|
|
|