| Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp
|
| index a955399d1c1048e625baa064c0b43e22b550746d..0fda52c447c69b234a7a34d26dc4c31e068d373f 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.cpp
|
| @@ -39,7 +39,7 @@ void BluetoothRemoteGATTDescriptor::ReadValueCallback(
|
| // If the device is disconnected, reject.
|
| if (!GetGatt()->RemoveFromActiveAlgorithms(resolver)) {
|
| resolver->Reject(
|
| - BluetoothError::CreateNotConnectedException(BluetoothOperation::GATT));
|
| + BluetoothError::CreateNotConnectedException(BluetoothOperation::kGATT));
|
| return;
|
| }
|
|
|
| @@ -59,7 +59,7 @@ ScriptPromise BluetoothRemoteGATTDescriptor::readValue(
|
| if (!GetGatt()->connected()) {
|
| return ScriptPromise::RejectWithDOMException(
|
| script_state,
|
| - BluetoothError::CreateNotConnectedException(BluetoothOperation::GATT));
|
| + BluetoothError::CreateNotConnectedException(BluetoothOperation::kGATT));
|
| }
|
|
|
| if (!GetGatt()->device()->IsValidDescriptor(descriptor_->instance_id)) {
|
| @@ -91,7 +91,7 @@ void BluetoothRemoteGATTDescriptor::WriteValueCallback(
|
| // disconnected so we reject.
|
| if (!GetGatt()->RemoveFromActiveAlgorithms(resolver)) {
|
| resolver->Reject(
|
| - BluetoothError::CreateNotConnectedException(BluetoothOperation::GATT));
|
| + BluetoothError::CreateNotConnectedException(BluetoothOperation::kGATT));
|
| return;
|
| }
|
|
|
| @@ -109,7 +109,7 @@ ScriptPromise BluetoothRemoteGATTDescriptor::writeValue(
|
| if (!GetGatt()->connected()) {
|
| return ScriptPromise::RejectWithDOMException(
|
| script_state,
|
| - BluetoothError::CreateNotConnectedException(BluetoothOperation::GATT));
|
| + BluetoothError::CreateNotConnectedException(BluetoothOperation::kGATT));
|
| }
|
|
|
| if (!GetGatt()->device()->IsValidDescriptor(descriptor_->instance_id)) {
|
|
|