Index: Source/modules/bluetooth/BluetoothDevice.cpp |
diff --git a/Source/modules/bluetooth/BluetoothDevice.cpp b/Source/modules/bluetooth/BluetoothDevice.cpp |
index 985319686ec0da11f2ea90cecba4e672edd2b63e..2d9552a950762b3fef6a4061330d912b48b4d6fb 100644 |
--- a/Source/modules/bluetooth/BluetoothDevice.cpp |
+++ b/Source/modules/bluetooth/BluetoothDevice.cpp |
@@ -92,7 +92,7 @@ ScriptPromise BluetoothDevice::connectGATT(ScriptState* scriptState) |
WebBluetooth* webbluetooth = Platform::current()->bluetooth(); |
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->connectGATT(instanceID(), new CallbackPromiseAdapter<BluetoothGATTRemoteServer, BluetoothError>(resolver)); |
return promise; |