| Index: content/browser/shared_worker/shared_worker_service_impl.cc
|
| diff --git a/content/browser/shared_worker/shared_worker_service_impl.cc b/content/browser/shared_worker/shared_worker_service_impl.cc
|
| index 4a689fa812fe422e522ffe3193c8d6f5394b7e7f..3c4b78b4686f85a95d1e095e23125db6d52aaec8 100644
|
| --- a/content/browser/shared_worker/shared_worker_service_impl.cc
|
| +++ b/content/browser/shared_worker/shared_worker_service_impl.cc
|
| @@ -394,10 +394,14 @@ void SharedWorkerServiceImpl::AllowDatabase(
|
| void SharedWorkerServiceImpl::AllowFileSystem(
|
| int worker_route_id,
|
| const GURL& url,
|
| - bool* result,
|
| + IPC::Message* reply_msg,
|
| SharedWorkerMessageFilter* filter) {
|
| - if (SharedWorkerHost* host = FindSharedWorkerHost(filter, worker_route_id))
|
| - host->AllowFileSystem(url, result);
|
| + if (SharedWorkerHost* host = FindSharedWorkerHost(filter, worker_route_id)) {
|
| + host->AllowFileSystem(url, make_scoped_ptr(reply_msg));
|
| + } else {
|
| + filter->Send(reply_msg);
|
| + return;
|
| + }
|
| }
|
|
|
| void SharedWorkerServiceImpl::AllowIndexedDB(
|
|
|