Index: chrome/test/perf/generate_profile.cc |
diff --git a/chrome/test/perf/generate_profile.cc b/chrome/test/perf/generate_profile.cc |
index 092d34d7fd858cc8569e845579a250fd1371fc88..fbee16f4c662e2f6d76366ed9cbb6a065ef28eec 100644 |
--- a/chrome/test/perf/generate_profile.cc |
+++ b/chrome/test/perf/generate_profile.cc |
@@ -256,7 +256,7 @@ bool GenerateProfile(GenerateProfileTypes types, |
base::FilePath path = file_iterator.Next(); |
while (!path.empty()) { |
base::FilePath dst_file = dst_dir.Append(path.BaseName()); |
- base::Delete(dst_file, false); |
+ base::DeleteFile(dst_file, false); |
if (!base::CopyFile(path, dst_file)) { |
PLOG(ERROR) << "Copying file failed"; |
return false; |