Index: webkit/fileapi/sandbox_mount_point_provider.cc |
=================================================================== |
--- webkit/fileapi/sandbox_mount_point_provider.cc (revision 171066) |
+++ webkit/fileapi/sandbox_mount_point_provider.cc (working copy) |
@@ -442,9 +442,9 @@ |
FilePath SandboxMountPointProvider::GetPathForPermissionsCheck( |
const FilePath& virtual_path) const { |
- // We simply return the very top directory of the sandbox |
- // filesystem regardless of the input path. |
- return new_base_path(); |
+ // Sandbox provider shouldn't directly grant permissions for its |
+ // data directory. |
+ return FilePath(); |
} |
FileSystemOperation* SandboxMountPointProvider::CreateFileSystemOperation( |