| 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 8839314554b8073c293e24009db58467733f02bb..e55bcb1f7268e6df91918186717c9e8b909aa99c 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
|
| @@ -62,7 +62,7 @@ class GetCharacteristicsCallback
|
| void onSuccess(const WebVector<WebBluetoothRemoteGATTCharacteristicInit*>&
|
| webCharacteristics) override {
|
| if (!m_resolver->getExecutionContext() ||
|
| - m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| + m_resolver->getExecutionContext()->isContextDestroyed())
|
| return;
|
|
|
| // If the resolver is not in the set of ActiveAlgorithms then the frame
|
| @@ -100,7 +100,7 @@ class GetCharacteristicsCallback
|
| error /* Corresponds to WebBluetoothResult in web_bluetooth.mojom */)
|
| override {
|
| if (!m_resolver->getExecutionContext() ||
|
| - m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| + m_resolver->getExecutionContext()->isContextDestroyed())
|
| return;
|
|
|
| // If the resolver is not in the set of ActiveAlgorithms then the frame
|
|
|