Index: Source/modules/serviceworkers/FetchEvent.h |
diff --git a/Source/modules/serviceworkers/FetchEvent.h b/Source/modules/serviceworkers/FetchEvent.h |
index f81d01ddd897daf4253c88507dc1708fa0a8f08e..1b4d19afb4d1b3caa8ef46f2570d2465187aaa34 100644 |
--- a/Source/modules/serviceworkers/FetchEvent.h |
+++ b/Source/modules/serviceworkers/FetchEvent.h |
@@ -5,6 +5,7 @@ |
#ifndef FetchEvent_h |
#define FetchEvent_h |
+#include "bindings/core/v8/ScriptPromise.h" |
#include "modules/EventModules.h" |
#include "modules/ModulesExport.h" |
#include "modules/fetch/Request.h" |
@@ -32,7 +33,7 @@ public: |
Request* request() const; |
bool isReload() const; |
- void respondWith(ScriptState*, ScriptPromise&, ExceptionState&); |
+ void respondWith(ScriptState*, ScriptPromise, ExceptionState&); |
const AtomicString& interfaceName() const override; |