| Index: Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp b/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp
|
| index c206772d2fa0596d194d11b3f4081d0d74b7364a..9d2bf5654d3de3d3dda45015b4b3e48d86bfab23 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp
|
| @@ -47,7 +47,7 @@ String ServiceWorkerWindowClient::visibilityState() const
|
|
|
| ScriptPromise ServiceWorkerWindowClient::focus(ScriptState* scriptState)
|
| {
|
| - RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
|
| + ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState);
|
| ScriptPromise promise = resolver->promise();
|
|
|
| if (!scriptState->executionContext()->isWindowInteractionAllowed()) {
|
| @@ -62,7 +62,7 @@ ScriptPromise ServiceWorkerWindowClient::focus(ScriptState* scriptState)
|
|
|
| ScriptPromise ServiceWorkerWindowClient::navigate(ScriptState* scriptState, const String& url)
|
| {
|
| - RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
|
| + ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState);
|
| ScriptPromise promise = resolver->promise();
|
| ExecutionContext* context = scriptState->executionContext();
|
|
|
|
|