| Index: content/browser/loader/resource_dispatcher_host_impl.cc
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| index 2a4ad9ac684eaf013e8717688027dc894c13aa1b..dcd2d12bc3b04e8c1a5d0fb3d4e1083816ec3181 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -217,8 +217,7 @@ bool ShouldServiceRequest(int process_type,
|
| }
|
| if (iter->type() == ResourceRequestBody::Element::TYPE_FILE_FILESYSTEM) {
|
| fileapi::FileSystemURL url = file_system_context->CrackURL(iter->url());
|
| - if (!policy->HasPermissionsForFileSystemFile(
|
| - child_id, url, fileapi::kReadFilePermissions)) {
|
| + if (!policy->CanReadFileSystemFile(child_id, url)) {
|
| NOTREACHED() << "Denied unauthorized upload of "
|
| << iter->url().spec();
|
| return false;
|
|
|