Index: Source/modules/serviceworkers/ServiceWorkerClient.cpp |
diff --git a/Source/modules/serviceworkers/ServiceWorkerClient.cpp b/Source/modules/serviceworkers/ServiceWorkerClient.cpp |
index 66bf83136b0992896cd2d75158702d4e02196821..e2f07eff55bf70a9104198ff8ffa09745a2fd109 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerClient.cpp |
+++ b/Source/modules/serviceworkers/ServiceWorkerClient.cpp |
@@ -70,7 +70,7 @@ void ServiceWorkerClient::postMessage(ExecutionContext* context, PassRefPtr<Seri |
ScriptPromise ServiceWorkerClient::focus(ScriptState* scriptState) |
{ |
- RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
// FIXME: there should be a check for whether the caller is allowed to focus |