Index: content/browser/fileapi/fileapi_message_filter.cc |
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc |
index ac81220e319ef79db300da9f4a555b4fc07d4e28..bd53c00343bee2f991252485e1a8f8cb8447885f 100644 |
--- a/content/browser/fileapi/fileapi_message_filter.cc |
+++ b/content/browser/fileapi/fileapi_message_filter.cc |
@@ -784,7 +784,7 @@ void FileAPIMessageFilter::DidCreateSnapshot( |
// already been granted read permission for the file's nominal path, but |
// for drive files, platform paths differ from the nominal paths. |
DCHECK(snapshot_file || |
- fileapi::SandboxMountPointProvider::CanHandleType(url.type()) || |
+ fileapi::SandboxMountPointProvider::IsSandboxType(url.type()) || |
url.type() == fileapi::kFileSystemTypeDrive); |
ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadFile( |
process_id_, platform_path); |
@@ -856,7 +856,7 @@ void FileAPIMessageFilter::RegisterFileAsBlob( |
// already been granted read permission for the file's nominal path, but |
// for drive files, platform paths differ from the nominal paths. |
DCHECK(shareable_file || |
- fileapi::SandboxMountPointProvider::CanHandleType(url.type()) || |
+ fileapi::SandboxMountPointProvider::IsSandboxType(url.type()) || |
url.type() == fileapi::kFileSystemTypeDrive); |
ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadFile( |
process_id_, platform_path); |