| Index: chrome/browser/extensions/api/file_system/file_system_api.cc
|
| 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 eb20c11c664c083d42ddf839fe2100ff43944ae2..8ed88c9fc8afbdab2825c64b69ffbd13d4de2f1a 100644
|
| --- a/chrome/browser/extensions/api/file_system/file_system_api.cc
|
| +++ b/chrome/browser/extensions/api/file_system/file_system_api.cc
|
| @@ -20,6 +20,7 @@
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "webkit/fileapi/file_system_types.h"
|
| #include "webkit/fileapi/file_system_util.h"
|
| #include "webkit/fileapi/isolated_context.h"
|
|
|
| @@ -181,8 +182,8 @@ void FileSystemEntryFunction::RegisterFileSystemAndSendResponse(
|
| DCHECK(isolated_context);
|
|
|
| std::string registered_name;
|
| - std::string filesystem_id = isolated_context->RegisterFileSystemForFile(
|
| - path, ®istered_name);
|
| + std::string filesystem_id = isolated_context->RegisterFileSystemForPath(
|
| + fileapi::kFileSystemTypeIsolated, path, ®istered_name);
|
|
|
| content::ChildProcessSecurityPolicy* policy =
|
| content::ChildProcessSecurityPolicy::GetInstance();
|
|
|