Index: Source/modules/geofencing/GeofencingError.h |
diff --git a/Source/modules/geofencing/GeofencingError.h b/Source/modules/geofencing/GeofencingError.h |
index 643c43c121034c18835ecfd45fc159d83d2101b4..8fc5b5e25a8d247a1363b5437231aa834c6e635b 100644 |
--- a/Source/modules/geofencing/GeofencingError.h |
+++ b/Source/modules/geofencing/GeofencingError.h |
@@ -5,12 +5,12 @@ |
#ifndef GeofencingError_h |
#define GeofencingError_h |
-#include "core/dom/DOMException.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/WebGeofencingError.h" |
namespace blink { |
+class DOMException; |
class ScriptPromiseResolver; |
class GeofencingError { |
@@ -18,7 +18,7 @@ class GeofencingError { |
public: |
// For CallbackPromiseAdapter. |
typedef blink::WebGeofencingError WebType; |
- static PassRefPtrWillBeRawPtr<DOMException> take(ScriptPromiseResolver*, WebType* webErrorRaw); |
+ static DOMException* take(ScriptPromiseResolver*, WebType* webErrorRaw); |
static void dispose(WebType* webErrorRaw); |
private: |