Index: base/test/test_file_util_win.cc |
diff --git a/base/test/test_file_util_win.cc b/base/test/test_file_util_win.cc |
index 3cfd233146130b934a74b293662d748740461622..2a5a4d03c6567e6f585ef31a01b26d37deec331c 100644 |
--- a/base/test/test_file_util_win.cc |
+++ b/base/test/test_file_util_win.cc |
@@ -126,7 +126,7 @@ bool DieFileDie(const base::FilePath& file, bool recurse) { |
// into short chunks, so that if a try succeeds, we won't delay the test |
// for too long. |
for (int i = 0; i < kIterations; ++i) { |
- if (base::Delete(file, recurse)) |
+ if (base::DeleteFile(file, recurse)) |
return true; |
base::PlatformThread::Sleep(kTimeout); |
} |