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