summaryrefslogtreecommitdiffstats
path: root/sql/connection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/connection.cc')
-rw-r--r--sql/connection.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/connection.cc b/sql/connection.cc
index f2164ec3..5f76a7f 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) &&