Index: Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp |
diff --git a/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp b/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp |
index 9c13abbf0103334a97b0c552e4bca9fbc13c9c20..0cad590172834343319cf3d25ef582e2ba2e0ba7 100644 |
--- a/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp |
+++ b/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp |
@@ -31,6 +31,7 @@ |
#include "config.h" |
#include "modules/webdatabase/sqlite/SQLiteFileSystem.h" |
+#include "platform/heap/Handle.h" |
#include <sqlite3.h> |
#include "wtf/text/CString.h" |
@@ -44,6 +45,7 @@ SQLiteFileSystem::SQLiteFileSystem() |
int SQLiteFileSystem::openDatabase(const String& filename, sqlite3** database, bool forWebSQLDatabase) |
{ |
+ ThreadState::SafePointScope scope(ThreadState::HeapPointersOnStack); |
if (!forWebSQLDatabase) |
return sqlite3_open(filename.utf8().data(), database); |