Index: Source/modules/bluetooth/BluetoothGATTService.cpp |
diff --git a/Source/modules/bluetooth/BluetoothGATTService.cpp b/Source/modules/bluetooth/BluetoothGATTService.cpp |
index 7c0d58d171b40916809093bfd835e49bd9d83e54..bf678427945dd6f14840b844cbcbccba1acda577 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)); |