| 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 c3c71250251315d4ac4dcef171458bd5ac568ac0..b002a7441a3c8a9702ef4e672ddf30d6ac6f7498 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"
|
|
|
| @@ -185,8 +186,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();
|
|
|