Index: net/disk_cache/simple/simple_synchronous_entry.cc |
diff --git a/net/disk_cache/simple/simple_synchronous_entry.cc b/net/disk_cache/simple/simple_synchronous_entry.cc |
index 421591d530721e393ee5dcfa5474c4559b3c583b..2b9c687d40d27a3b2925b0d6f0634051f49e6ee4 100644 |
--- a/net/disk_cache/simple/simple_synchronous_entry.cc |
+++ b/net/disk_cache/simple/simple_synchronous_entry.cc |
@@ -185,7 +185,7 @@ bool SimpleSynchronousEntry::DeleteFilesForEntryHash( |
for (int i = 0; i < kSimpleEntryFileCount; ++i) { |
FilePath to_delete = path.AppendASCII( |
GetFilenameFromEntryHashAndIndex(entry_hash, i)); |
- if (!base::Delete(to_delete, false)) { |
+ if (!base::DeleteFile(to_delete, false)) { |
result = false; |
DLOG(ERROR) << "Could not delete " << to_delete.MaybeAsASCII(); |
} |