Index: Source/modules/background_sync/SyncError.h |
diff --git a/Source/modules/background_sync/SyncError.h b/Source/modules/background_sync/SyncError.h |
index 0e9e036221d2bcbb41f1ae71c1622683c7f26e00..4acee96210ab6d13991dd325cccd679442cc8299 100644 |
--- a/Source/modules/background_sync/SyncError.h |
+++ b/Source/modules/background_sync/SyncError.h |
@@ -5,12 +5,12 @@ |
#ifndef SyncError_h |
#define SyncError_h |
-#include "core/dom/DOMException.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/modules/background_sync/WebSyncError.h" |
namespace blink { |
+class DOMException; |
class ScriptPromiseResolver; |
class SyncError { |
@@ -18,7 +18,7 @@ class SyncError { |
public: |
// For CallbackPromiseAdapter. |
using WebType = WebSyncError; |
- static PassRefPtrWillBeRawPtr<DOMException> take(ScriptPromiseResolver*, WebType*); |
+ static DOMException* take(ScriptPromiseResolver*, WebType*); |
static void dispose(WebType*); |
private: |