Index: Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp |
diff --git a/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp b/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp |
index b512ece3bf76e478213c71d2cbfbf8826efe8123..b3eace49fc6f3e8449ae66064205af3260d0afdf 100644 |
--- a/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp |
+++ b/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp |
@@ -28,6 +28,9 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// Expose chromium_sqlite3_* functions from Chromium's patched SQLite. |
+#define CHROMIUM_SQLITE_INTERNALS |
+ |
#include "config.h" |
#include "modules/webdatabase/sqlite/SQLiteFileSystem.h" |
@@ -35,11 +38,6 @@ |
#include <sqlite3.h> |
#include "public/platform/Platform.h" |
-// Defined in Chromium's codebase in third_party/sqlite/src/os_win.c |
-extern "C" { |
-int chromium_sqlite3_initialize_win_sqlite3_file(sqlite3_file* file, HANDLE handle); |
-} |
- |
namespace blink { |
// Chromium's Windows implementation of SQLite VFS |