Index: Source/modules/serviceworkers/WaitUntilObserver.cpp |
diff --git a/Source/modules/serviceworkers/WaitUntilObserver.cpp b/Source/modules/serviceworkers/WaitUntilObserver.cpp |
index 549f9f9e5a170ad809bf9e38eebd3c9f77de6355..67770666e830b8fc7b85687c6252709008b51bab 100644 |
--- a/Source/modules/serviceworkers/WaitUntilObserver.cpp |
+++ b/Source/modules/serviceworkers/WaitUntilObserver.cpp |
@@ -75,10 +75,10 @@ void WaitUntilObserver::didDispatchEvent() |
decrementPendingActivity(); |
} |
-void WaitUntilObserver::waitUntil(const ScriptValue& value) |
+void WaitUntilObserver::waitUntil(ScriptState* scriptState, const ScriptValue& value) |
{ |
incrementPendingActivity(); |
- ScriptPromise::cast(value).then( |
+ ScriptPromise::cast(scriptState, value).then( |
ThenFunction::create(this, ThenFunction::Fulfilled), |
ThenFunction::create(this, ThenFunction::Rejected)); |
} |