Index: Source/modules/bluetooth/Bluetooth.cpp |
diff --git a/Source/modules/bluetooth/Bluetooth.cpp b/Source/modules/bluetooth/Bluetooth.cpp |
index 479c62773544f7c6e755dcba592973700d12033b..19ffb2a13a759d83b735bf18473a632ab20449a6 100644 |
--- a/Source/modules/bluetooth/Bluetooth.cpp |
+++ b/Source/modules/bluetooth/Bluetooth.cpp |
@@ -69,7 +69,7 @@ ScriptPromise Bluetooth::requestDevice(ScriptState* scriptState, const RequestDe |
return exceptionState.reject(scriptState); |
// Subsequent steps are handled in the browser process. |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
webbluetooth->requestDevice(webOptions, new CallbackPromiseAdapter<BluetoothDevice, BluetoothError>(resolver)); |
return promise; |