Chromium Code Reviews| Index: Source/modules/serviceworkers/WaitUntilObserver.h |
| diff --git a/Source/modules/serviceworkers/WaitUntilObserver.h b/Source/modules/serviceworkers/WaitUntilObserver.h |
| index 30fe525fa90923c355a8c7e74b5b1715682ecb3a..fbb63e3250c8ea33e6ec0cbd9b11a9aee2e4728a 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&); |
|
yhirano
2015/07/27 12:21:24
Can you use |ScriptPromise| instead of |ScriptProm
|
| DECLARE_VIRTUAL_TRACE(); |