Index: sql/connection.cc |
diff --git a/sql/connection.cc b/sql/connection.cc |
index f2164ec395be3b2d103ab4105447ccad1f026ec8..5f76a7f3c9ea6c00d2ac268606a24f7aa505e29f 100644 |
--- a/sql/connection.cc |
+++ b/sql/connection.cc |
@@ -445,9 +445,9 @@ bool Connection::Delete(const base::FilePath& path) { |
base::FilePath journal_path(path.value() + FILE_PATH_LITERAL("-journal")); |
base::FilePath wal_path(path.value() + FILE_PATH_LITERAL("-wal")); |
- base::Delete(journal_path, false); |
- base::Delete(wal_path, false); |
- base::Delete(path, false); |
+ base::DeleteFile(journal_path, false); |
+ base::DeleteFile(wal_path, false); |
+ base::DeleteFile(path, false); |
return !base::PathExists(journal_path) && |
!base::PathExists(wal_path) && |