| Index: Source/modules/serviceworkers/WaitUntilObserver.cpp
|
| diff --git a/Source/modules/serviceworkers/WaitUntilObserver.cpp b/Source/modules/serviceworkers/WaitUntilObserver.cpp
|
| index 0d09153d0b41432a8370a29e2e31f6b769a0635c..f239f541f70185976a3e31dc9aab55232ea62e79 100644
|
| --- a/Source/modules/serviceworkers/WaitUntilObserver.cpp
|
| +++ b/Source/modules/serviceworkers/WaitUntilObserver.cpp
|
| @@ -75,7 +75,7 @@ void WaitUntilObserver::didDispatchEvent()
|
| void WaitUntilObserver::waitUntil(const ScriptValue& value)
|
| {
|
| incrementPendingActivity();
|
| - ScriptPromise(value).then(
|
| + ScriptPromise::cast(value).then(
|
| ThenFunction::create(this, ThenFunction::Fulfilled),
|
| ThenFunction::create(this, ThenFunction::Rejected));
|
| }
|
|
|