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..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; |
|
yhirano
2015/07/29 06:28:40
-ScriptValue
jungkees
2015/07/29 07:55:46
It seems reportError() uses the type.
yhirano
2015/07/29 08:00:02
You're right, sorry.
|
| @@ -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(); |