| Index: chrome/browser/extensions/api/media_galleries/media_galleries_api.cc
|
| diff --git a/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc b/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc
|
| index 6e16654ce36e1cf60c44f9827b59b4170d1b450f..a929d3e08726f3f4f18c7d6b6d7ee3e1bc1d14a0 100644
|
| --- a/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc
|
| +++ b/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc
|
| @@ -176,11 +176,11 @@ base::ListValue* ConstructFileSystemList(
|
| if (has_read_permission) {
|
| content::ChildProcessSecurityPolicy* policy =
|
| content::ChildProcessSecurityPolicy::GetInstance();
|
| - policy->GrantReadFileSystem(child_id, filesystems[i].fsid);
|
| + policy->GrantReadFile(child_id, filesystems[i].path);
|
| if (has_delete_permission) {
|
| - policy->GrantDeleteFromFileSystem(child_id, filesystems[i].fsid);
|
| + policy->GrantDeleteFrom(child_id, filesystems[i].path);
|
| if (has_copy_to_permission) {
|
| - policy->GrantCopyIntoFileSystem(child_id, filesystems[i].fsid);
|
| + policy->GrantCopyInto(child_id, filesystems[i].path);
|
| }
|
| }
|
| }
|
|
|