Index: chrome/installer/util/self_cleaning_temp_dir.cc |
diff --git a/chrome/installer/util/self_cleaning_temp_dir.cc b/chrome/installer/util/self_cleaning_temp_dir.cc |
index 8fddbb9dccd2eb1ba52702924565ff55c968c1d4..6426dd9f9890c41f36ffe8d2bc46205dd30f9cbc 100644 |
--- a/chrome/installer/util/self_cleaning_temp_dir.cc |
+++ b/chrome/installer/util/self_cleaning_temp_dir.cc |
@@ -78,7 +78,7 @@ bool SelfCleaningTempDir::Delete() { |
// First try to recursively delete the leaf directory managed by our |
// base::ScopedTempDir. |
- if (!base::Delete(path(), true)) { |
+ if (!base::DeleteFile(path(), true)) { |
// That failed, so schedule the temp dir and its contents for deletion after |
// reboot. |
LOG(WARNING) << "Failed to delete temporary directory " << path().value() |