diff options
Diffstat (limited to 'chrome/browser/extensions/api/file_system/file_system_api.cc')
-rw-r--r-- | chrome/browser/extensions/api/file_system/file_system_api.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc index 2b5301b..0faa9e9 100644 --- a/chrome/browser/extensions/api/file_system/file_system_api.cc +++ b/chrome/browser/extensions/api/file_system/file_system_api.cc @@ -156,10 +156,10 @@ bool GetFilePathOfFileEntry(const std::string& filesystem_name, FilePath relative_path = FilePath::FromUTF8Unsafe(filesystem_path); FilePath virtual_path = context->CreateVirtualRootPath(filesystem_id) .Append(relative_path); - if (!context->CrackIsolatedPath(virtual_path, - &filesystem_id, - NULL, - file_path)) { + if (!context->CrackVirtualPath(virtual_path, + &filesystem_id, + NULL, + file_path)) { *error = kInvalidParameters; return false; } |