Index: third_party/WebKit/Source/modules/webdatabase/Database.cpp |
diff --git a/third_party/WebKit/Source/modules/webdatabase/Database.cpp b/third_party/WebKit/Source/modules/webdatabase/Database.cpp |
index 61377d3b9af3ff74c9a99fb07555ef87ea18a190..afd6e55dd273158bd81b82b329a8c87e742c33f1 100644 |
--- a/third_party/WebKit/Source/modules/webdatabase/Database.cpp |
+++ b/third_party/WebKit/Source/modules/webdatabase/Database.cpp |
@@ -215,6 +215,7 @@ Database::Database(DatabaseContext* databaseContext, const String& name, const S |
, m_transactionInProgress(false) |
, m_isTransactionQueueEnabled(true) |
{ |
+ DCHECK(isMainThread()); |
m_contextThreadSecurityOrigin = m_databaseContext->getSecurityOrigin()->isolatedCopy(); |
m_databaseAuthorizer = DatabaseAuthorizer::create(infoTableName); |