| 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 82c8b229ed9fc8797658ecea25e6f649649cbbad..ae16eb421cb46c9319fb6d29f2cf38a692950f40 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp
|
| @@ -57,8 +57,7 @@ void BluetoothRemoteGATTService::GetCharacteristicsCallback(
|
| resolver->getExecutionContext()->isContextDestroyed())
|
| return;
|
|
|
| - // If the resolver is not in the set of ActiveAlgorithms then the frame
|
| - // disconnected so we reject.
|
| + // If the device is disconnected, reject.
|
| if (!device()->gatt()->RemoveFromActiveAlgorithms(resolver)) {
|
| resolver->reject(
|
| DOMException::create(NetworkError, kGATTServerDisconnected));
|
| @@ -129,7 +128,6 @@ ScriptPromise BluetoothRemoteGATTService::getCharacteristicsImpl(
|
| ScriptState* scriptState,
|
| mojom::blink::WebBluetoothGATTQueryQuantity quantity,
|
| const String& characteristicsUUID) {
|
| - // We always check that the device is connected.
|
| if (!device()->gatt()->connected()) {
|
| return ScriptPromise::rejectWithDOMException(
|
| scriptState,
|
|
|