Index: Source/modules/bluetooth/BluetoothDiscovery.cpp |
diff --git a/Source/modules/bluetooth/BluetoothDiscovery.cpp b/Source/modules/bluetooth/BluetoothDiscovery.cpp |
index f31848d6de083a01c89d90ed65f53494504314c9..4a8cd17b6fae79273388bc43fcdf35141c0b0761 100644 |
--- a/Source/modules/bluetooth/BluetoothDiscovery.cpp |
+++ b/Source/modules/bluetooth/BluetoothDiscovery.cpp |
@@ -23,7 +23,7 @@ ScriptPromise BluetoothDiscovery::requestDevice(ScriptState* scriptState) |
if (!webbluetooth) |
return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |
- RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
webbluetooth->requestDevice(new CallbackPromiseAdapter<BluetoothDevice, BluetoothError>(resolver)); |
return promise; |