| Index: chrome/browser/extensions/platform_app_launcher.cc
|
| diff --git a/chrome/browser/extensions/platform_app_launcher.cc b/chrome/browser/extensions/platform_app_launcher.cc
|
| index 54eb509409641bf74f5462b97ac1ab8ad686e33b..dd6a49bae7f47cfa4b0336d7a56811c1501b2b15 100644
|
| --- a/chrome/browser/extensions/platform_app_launcher.cc
|
| +++ b/chrome/browser/extensions/platform_app_launcher.cc
|
| @@ -24,6 +24,7 @@
|
| #include "content/public/browser/render_process_host.h"
|
| #include "net/base/mime_util.h"
|
| #include "net/base/net_util.h"
|
| +#include "webkit/fileapi/file_system_types.h"
|
| #include "webkit/fileapi/isolated_context.h"
|
| #include "webkit/glue/web_intent_data.h"
|
| #include "webkit/glue/web_intent_service_data.h"
|
| @@ -201,8 +202,8 @@ class PlatformAppCommandLineLauncher
|
| fileapi::IsolatedContext* isolated_context =
|
| fileapi::IsolatedContext::GetInstance();
|
| DCHECK(isolated_context);
|
| - std::string filesystem_id = isolated_context->RegisterFileSystemForFile(
|
| - file_path, ®istered_name);
|
| + std::string filesystem_id = isolated_context->RegisterFileSystemForPath(
|
| + fileapi::kFileSystemTypeIsolated, file_path, ®istered_name);
|
| // Granting read file system permission as well to allow file-system
|
| // read operations.
|
| policy->GrantReadFileSystem(renderer_id, filesystem_id);
|
|
|