Index: Source/modules/serviceworkers/WaitUntilObserver.h |
diff --git a/Source/modules/serviceworkers/WaitUntilObserver.h b/Source/modules/serviceworkers/WaitUntilObserver.h |
index 30fe525fa90923c355a8c7e74b5b1715682ecb3a..5599d7ed929b2d0eb9cc24bc64a4c157ef2f09ea 100644 |
--- a/Source/modules/serviceworkers/WaitUntilObserver.h |
+++ b/Source/modules/serviceworkers/WaitUntilObserver.h |
@@ -16,6 +16,7 @@ namespace blink { |
class ExceptionState; |
class ExecutionContext; |
+class ScriptPromise; |
class ScriptState; |
class ScriptValue; |
@@ -39,7 +40,7 @@ public: |
// Observes the promise and delays calling the continuation until |
// the given promise is resolved or rejected. |
- void waitUntil(ScriptState*, const ScriptValue&, ExceptionState&); |
+ void waitUntil(ScriptState*, ScriptPromise, ExceptionState&); |
DECLARE_VIRTUAL_TRACE(); |