| Index: net/disk_cache/cache_util_posix.cc
|
| diff --git a/net/disk_cache/cache_util_posix.cc b/net/disk_cache/cache_util_posix.cc
|
| index ec5f931b2ccfb143f8b2b5d72b90e00d178bb38f..9c2cf123940e13058561ff849f0d04eb1816e958 100644
|
| --- a/net/disk_cache/cache_util_posix.cc
|
| +++ b/net/disk_cache/cache_util_posix.cc
|
| @@ -22,12 +22,9 @@ bool MoveCache(const FilePath& from_path, const FilePath& to_path) {
|
| LOG(ERROR) << "Unable to create destination cache directory.";
|
| return false;
|
| }
|
| - file_util::FileEnumerator iter(
|
| - from_path,
|
| - /* recursive */ false,
|
| - static_cast<file_util::FileEnumerator::FileType>(
|
| - file_util::FileEnumerator::DIRECTORIES |
|
| - file_util::FileEnumerator::FILES));
|
| + file_util::FileEnumerator iter(from_path, false /* not recursive */,
|
| + file_util::FileEnumerator::DIRECTORIES |
|
| + file_util::FileEnumerator::FILES);
|
| for (FilePath name = iter.Next(); !name.value().empty(); name = iter.Next()) {
|
| FilePath destination = to_path.Append(name.BaseName());
|
| if (!file_util::Move(name, destination)) {
|
|
|