diff options
Diffstat (limited to 'storage/browser/fileapi/local_file_util.cc')
-rw-r--r-- | storage/browser/fileapi/local_file_util.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/storage/browser/fileapi/local_file_util.cc b/storage/browser/fileapi/local_file_util.cc index 81bd865..5f3be4f 100644 --- a/storage/browser/fileapi/local_file_util.cc +++ b/storage/browser/fileapi/local_file_util.cc @@ -139,13 +139,12 @@ scoped_ptr<FileSystemFileUtil::AbstractFileEnumerator> LocalFileUtil:: base::FilePath file_path; if (GetLocalFilePath(context, root_url, &file_path) != base::File::FILE_OK) { - return make_scoped_ptr(new EmptyFileEnumerator) - .PassAs<FileSystemFileUtil::AbstractFileEnumerator>(); + return make_scoped_ptr(new EmptyFileEnumerator); } return make_scoped_ptr(new LocalFileEnumerator( - file_path, root_url.path(), - base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES)) - .PassAs<FileSystemFileUtil::AbstractFileEnumerator>(); + file_path, + root_url.path(), + base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES)); } base::File::Error LocalFileUtil::GetLocalFilePath( |