| Index: chrome/browser/renderer_host/browser_render_process_host.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/browser_render_process_host.cc (revision 67172)
|
| +++ chrome/browser/renderer_host/browser_render_process_host.cc (working copy)
|
| @@ -240,8 +240,9 @@
|
| // PLATFORM_FILE_DELETE_ON_CLOSE are not granted, because no existing API
|
| // requests them.
|
| ChildProcessSecurityPolicy::GetInstance()->GrantPermissionsForFile(
|
| - id(), profile->GetPath().Append(
|
| - fileapi::FileSystemPathManager::kFileSystemDirectory),
|
| + id(),
|
| + fileapi::FileSystemPathManager::GetFileSystemCommonRootDirectory(
|
| + profile->GetPath()),
|
| base::PLATFORM_FILE_OPEN |
|
| base::PLATFORM_FILE_CREATE |
|
| base::PLATFORM_FILE_OPEN_ALWAYS |
|
|
|