Index: Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp b/Source/modules/serviceworkers/ServiceWorkerWindowClient.cpp |
index ccc3c42ec05dc8530b038c3cb69394f864de5a58..d23b7fbf9a44dd785d410e3cd519e29fa4c0e164 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(); |