Index: webkit/fileapi/file_system_operation.cc |
=================================================================== |
--- webkit/fileapi/file_system_operation.cc (revision 81835) |
+++ webkit/fileapi/file_system_operation.cc (working copy) |
@@ -569,8 +569,8 @@ |
dispatcher_->DidFail(base::PLATFORM_FILE_ERROR_SECURITY); |
return false; |
} |
- if (!file_system_context()->path_manager()->IsAllowedFileSystemType( |
- *origin_url, *type)) { |
+ if (!file_system_context()->path_manager()->IsAccessAllowed( |
+ *origin_url, *type, *virtual_path)) { |
dispatcher_->DidFail(base::PLATFORM_FILE_ERROR_SECURITY); |
return false; |
} |
@@ -606,8 +606,8 @@ |
dispatcher_->DidFail(base::PLATFORM_FILE_ERROR_SECURITY); |
return false; |
} |
- if (!file_system_context()->path_manager()->IsAllowedFileSystemType( |
- *origin_url, *type)) { |
+ if (!file_system_context()->path_manager()->IsAccessAllowed( |
+ *origin_url, *type, *virtual_path)) { |
dispatcher_->DidFail(base::PLATFORM_FILE_ERROR_SECURITY); |
return false; |
} |