Index: base/files/scoped_temp_dir.cc |
diff --git a/base/files/scoped_temp_dir.cc b/base/files/scoped_temp_dir.cc |
index 3e903497017de33dc9433d403042c6a22bcba439..497799e9f72b7bf986c772a42acc9861e34e08d0 100644 |
--- a/base/files/scoped_temp_dir.cc |
+++ b/base/files/scoped_temp_dir.cc |
@@ -63,7 +63,7 @@ bool ScopedTempDir::Delete() { |
if (path_.empty()) |
return false; |
- bool ret = base::Delete(path_, true); |
+ bool ret = base::DeleteFile(path_, true); |
if (ret) { |
// We only clear the path if deleted the directory. |
path_.clear(); |