| Index: Source/modules/serviceworkers/RespondWithObserver.h
|
| diff --git a/Source/modules/serviceworkers/RespondWithObserver.h b/Source/modules/serviceworkers/RespondWithObserver.h
|
| index 7a3d22cd1b0c4bc1d1e40a49c13972662c17b375..567edb5dc27abe66d9583cd34714c4bc6b94c7e8 100644
|
| --- a/Source/modules/serviceworkers/RespondWithObserver.h
|
| +++ b/Source/modules/serviceworkers/RespondWithObserver.h
|
| @@ -13,6 +13,7 @@ namespace WebCore {
|
|
|
| class ExecutionContext;
|
| class Response;
|
| +class ScriptState;
|
| class ScriptValue;
|
|
|
| // This class observes the service worker's handling of a FetchEvent and
|
| @@ -28,7 +29,7 @@ public:
|
|
|
| // Observes the promise and delays calling didHandleFetchEvent() until the
|
| // given promise is resolved or rejected.
|
| - void respondWith(const ScriptValue&);
|
| + void respondWith(ScriptState*, const ScriptValue&);
|
|
|
| void responseWasRejected();
|
| void responseWasFulfilled(const ScriptValue&);
|
|
|