Index: Source/modules/bluetooth/BluetoothError.cpp |
diff --git a/Source/modules/bluetooth/BluetoothError.cpp b/Source/modules/bluetooth/BluetoothError.cpp |
index 6fe487d9ee1a5226bbd8543a4da30650c8bd2928..70c9884ee52b420c35dc2ae26027a8a86e933f98 100644 |
--- a/Source/modules/bluetooth/BluetoothError.cpp |
+++ b/Source/modules/bluetooth/BluetoothError.cpp |
@@ -5,13 +5,14 @@ |
#include "config.h" |
#include "modules/bluetooth/BluetoothError.h" |
+#include "core/dom/DOMException.h" |
#include "core/dom/ExceptionCode.h" |
#include "public/platform/modules/bluetooth/WebBluetoothError.h" |
#include "wtf/OwnPtr.h" |
namespace blink { |
-PassRefPtrWillBeRawPtr<DOMException> BluetoothError::take(ScriptPromiseResolver*, WebBluetoothError* webErrorRawPointer) |
+DOMException* BluetoothError::take(ScriptPromiseResolver*, WebBluetoothError* webErrorRawPointer) |
{ |
OwnPtr<WebBluetoothError> webError = adoptPtr(webErrorRawPointer); |
switch (webError->errorType) { |