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 ee60bf7b161e2b4d8fbf5c225d4d29b62a644967..db1a4ac206278725bea908b45cdc23fb1e3ab85a 100644 |
--- a/net/disk_cache/cache_util_posix.cc |
+++ b/net/disk_cache/cache_util_posix.cc |
@@ -45,14 +45,14 @@ void DeleteCache(const base::FilePath& path, bool remove_folder) { |
base::FileEnumerator::FILES); |
for (base::FilePath file = iter.Next(); !file.value().empty(); |
file = iter.Next()) { |
- if (!file_util::Delete(file, /* recursive */ false)) { |
+ if (!base::Delete(file, /* recursive */ false)) { |
LOG(WARNING) << "Unable to delete cache."; |
return; |
} |
} |
if (remove_folder) { |
- if (!file_util::Delete(path, /* recursive */ false)) { |
+ if (!base::Delete(path, /* recursive */ false)) { |
LOG(WARNING) << "Unable to delete cache folder."; |
return; |
} |
@@ -60,7 +60,7 @@ void DeleteCache(const base::FilePath& path, bool remove_folder) { |
} |
bool DeleteCacheFile(const base::FilePath& name) { |
- return file_util::Delete(name, false); |
+ return base::Delete(name, false); |
} |
} // namespace disk_cache |