Index: Source/web/IDBFactoryBackendProxy.cpp |
diff --git a/Source/web/IDBFactoryBackendProxy.cpp b/Source/web/IDBFactoryBackendProxy.cpp |
index a18facb2737293a4c0420b1be62195b98a38cb1f..2550490aea5e464ddf09eee0c6f597ea673132a6 100644 |
--- a/Source/web/IDBFactoryBackendProxy.cpp |
+++ b/Source/web/IDBFactoryBackendProxy.cpp |
@@ -61,7 +61,7 @@ bool IDBFactoryBackendProxy::allowIndexedDB(ExecutionContext* context, const Str |
return !webFrame->permissionClient() || webFrame->permissionClient()->allowIndexedDB(webFrame, name, origin); |
} |
- WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); |
+ WorkerGlobalScope& workerGlobalScope = *toWorkerGlobalScope(context); |
return WorkerPermissionClient::from(workerGlobalScope)->allowIndexedDB(name); |
} |