| Index: Source/web/DatabaseClientImpl.cpp
|
| diff --git a/Source/web/DatabaseClientImpl.cpp b/Source/web/DatabaseClientImpl.cpp
|
| index 86c67147f26b9815bd0f1b2ce0d2d978107c8185..c62af148148d0978e3beb759915fe321153f80e8 100644
|
| --- a/Source/web/DatabaseClientImpl.cpp
|
| +++ b/Source/web/DatabaseClientImpl.cpp
|
| @@ -63,7 +63,7 @@ bool DatabaseClientImpl::allowDatabase(ExecutionContext* executionContext, const
|
| if (webFrame->permissionClient())
|
| return webFrame->permissionClient()->allowDatabase(webFrame, name, displayName, estimatedSize);
|
| } else {
|
| - WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(executionContext);
|
| + WorkerGlobalScope& workerGlobalScope = *toWorkerGlobalScope(executionContext);
|
| return WorkerPermissionClient::from(workerGlobalScope)->allowDatabase(name, displayName, estimatedSize);
|
| }
|
| return true;
|
|
|