Index: Source/modules/bluetooth/BluetoothGATTService.cpp |
diff --git a/Source/modules/bluetooth/BluetoothGATTService.cpp b/Source/modules/bluetooth/BluetoothGATTService.cpp |
index c6d2ad29c0906088bf79a42e1b6a33b6a56768df..a0afc007d0338f009bfff4a10ebddb6b96d14a53 100644 |
--- a/Source/modules/bluetooth/BluetoothGATTService.cpp |
+++ b/Source/modules/bluetooth/BluetoothGATTService.cpp |
@@ -40,7 +40,7 @@ ScriptPromise BluetoothGATTService::getCharacteristic(ScriptState* scriptState, |
if (exceptionState.hadException()) |
return exceptionState.reject(scriptState); |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
webbluetooth->getCharacteristic(m_webService->serviceInstanceID, characteristicUUID, new CallbackPromiseAdapter<BluetoothGATTCharacteristic, BluetoothError>(resolver)); |