Chromium Code Reviews| 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 16d6ab13f8277964011796876749a2a4816e8837..c3377ca10a9750c9f67fe9c61ab9b9dbac99bde1 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) |
| { |
| + ASSERT(isMainThread()); |
|
haraken
2016/05/18 13:05:16
Use DCHECK.
keishi
2016/05/24 11:52:21
Done.
|
| m_contextThreadSecurityOrigin = m_databaseContext->getSecurityOrigin()->isolatedCopy(); |
| m_databaseAuthorizer = DatabaseAuthorizer::create(infoTableName); |