Index: Source/modules/serviceworkers/ServiceWorkerError.h |
diff --git a/Source/modules/serviceworkers/ServiceWorkerError.h b/Source/modules/serviceworkers/ServiceWorkerError.h |
index da8ea88c9f5dd162ad2ecd890df483b329bb415c..2cee553f465a3a45bac65502beb93a52995a1ddc 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerError.h |
+++ b/Source/modules/serviceworkers/ServiceWorkerError.h |
@@ -31,20 +31,20 @@ |
#ifndef ServiceWorkerError_h |
#define ServiceWorkerError_h |
-#include "core/dom/DOMException.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/WebServiceWorkerError.h" |
#include "wtf/PassOwnPtr.h" |
namespace blink { |
+class DOMException; |
class ScriptPromiseResolver; |
class ServiceWorkerError { |
public: |
// For CallbackPromiseAdapter |
typedef WebServiceWorkerError WebType; |
- static PassRefPtrWillBeRawPtr<DOMException> take(ScriptPromiseResolver*, WebType* webErrorRaw); |
+ static DOMException* take(ScriptPromiseResolver*, WebType* webErrorRaw); |
static void dispose(WebType* webErrorRaw); |
private: |