| Index: sql/connection.cc
|
| diff --git a/sql/connection.cc b/sql/connection.cc
|
| index 3f37b90cc71fd059b4eef51ad6a79d47608a1b4b..300e5e6eaaba53f177224139dfc7d131065f0c32 100644
|
| --- a/sql/connection.cc
|
| +++ b/sql/connection.cc
|
| @@ -676,6 +676,9 @@ bool Connection::Delete(const base::FilePath& path) {
|
| std::string wal_str = AsUTF8ForSQL(wal_path);
|
| std::string path_str = AsUTF8ForSQL(path);
|
|
|
| + // Make sure sqlite3_initialize() is called before anything else.
|
| + InitializeSqlite();
|
| +
|
| sqlite3_vfs* vfs = sqlite3_vfs_find(NULL);
|
| CHECK(vfs);
|
| CHECK(vfs->xDelete);
|
|
|