Index: Source/modules/webusb/USB.cpp |
diff --git a/Source/modules/webusb/USB.cpp b/Source/modules/webusb/USB.cpp |
index 03a0c68b1a82f715c06ebb147f961bc22781c87c..ffee6d20612d9857444fc58e9b85964c63828fc8 100644 |
--- a/Source/modules/webusb/USB.cpp |
+++ b/Source/modules/webusb/USB.cpp |
@@ -82,7 +82,7 @@ ScriptPromise USB::getDevices(ScriptState* scriptState, const USBDeviceEnumerati |
if (!client) |
return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
WebUSBDeviceEnumerationOptions webOptions; |