Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(890)

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp

Issue 1909813002: Enable per thread heap for database thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
index 15e4159ba70d0777bcdc087b2c58e757c2156c13..fe8cc48e1a36bc34b3b545cf013b553f4602d01c 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
@@ -48,7 +48,7 @@ static DatabaseManager* s_databaseManager;
DatabaseManager& DatabaseManager::manager()
{
- ASSERT(isMainThread());
+ DCHECK(isMainThread());
if (!s_databaseManager)
s_databaseManager = new DatabaseManager();
return *s_databaseManager;
@@ -56,7 +56,7 @@ DatabaseManager& DatabaseManager::manager()
void DatabaseManager::terminateDatabaseThread()
{
- ASSERT(isMainThread());
+ DCHECK(isMainThread());
if (!s_databaseManager)
return;
for (const Member<DatabaseContext>& context : s_databaseManager->m_contextMap.values())

Powered by Google App Engine
This is Rietveld 408576698