Index: Source/modules/bluetooth/BluetoothError.h |
diff --git a/Source/modules/bluetooth/BluetoothError.h b/Source/modules/bluetooth/BluetoothError.h |
index 279103031b9cc63887608553660ceccbcfab643a..d1e982f292bdffa3c015bb673c6b8b527c30cc41 100644 |
--- a/Source/modules/bluetooth/BluetoothError.h |
+++ b/Source/modules/bluetooth/BluetoothError.h |
@@ -5,11 +5,11 @@ |
#ifndef BluetoothError_h |
#define BluetoothError_h |
-#include "core/dom/DOMException.h" |
#include "platform/heap/Handle.h" |
namespace blink { |
+class DOMException; |
class ScriptPromiseResolver; |
struct WebBluetoothError; |
@@ -20,7 +20,7 @@ class BluetoothError { |
public: |
// Interface required by CallbackPromiseAdapter: |
typedef WebBluetoothError WebType; |
- static PassRefPtrWillBeRawPtr<DOMException> take(ScriptPromiseResolver*, WebBluetoothError*); |
+ static DOMException* take(ScriptPromiseResolver*, WebBluetoothError*); |
static void dispose(blink::WebBluetoothError*); |
private: |