Index: Source/modules/serviceworkers/ServiceWorkerClients.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerClients.cpp b/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
index 1da6a873c54ff7a7607e084d77155295f642e9f2..ae21d1945dc16c533a553b89eefd4fba3627f229 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerClients.cpp |
@@ -77,7 +77,7 @@ ScriptPromise ServiceWorkerClients::matchAll(ScriptState* scriptState, const Cli |
if (!executionContext) |
return ScriptPromise(); |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
WebServiceWorkerClientQueryOptions webOptions; |
@@ -95,7 +95,7 @@ ScriptPromise ServiceWorkerClients::claim(ScriptState* scriptState) |
if (!executionContext) |
return ScriptPromise(); |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
WebServiceWorkerClientsClaimCallbacks* callbacks = new CallbackPromiseAdapter<void, ServiceWorkerError>(resolver); |
@@ -105,7 +105,7 @@ ScriptPromise ServiceWorkerClients::claim(ScriptState* scriptState) |
ScriptPromise ServiceWorkerClients::openWindow(ScriptState* scriptState, const String& url) |
{ |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
ExecutionContext* context = scriptState->executionContext(); |