Index: Source/modules/bluetooth/Bluetooth.cpp |
diff --git a/Source/modules/bluetooth/Bluetooth.cpp b/Source/modules/bluetooth/Bluetooth.cpp |
index 7ed717b341d7fa09683b844f53fda49b0c84ffe0..8bfe3025b4e56008e9019fbf27383cb8395623c6 100644 |
--- a/Source/modules/bluetooth/Bluetooth.cpp |
+++ b/Source/modules/bluetooth/Bluetooth.cpp |
@@ -75,7 +75,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; |