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

Unified Diff: Source/modules/webdatabase/DatabaseManager.h

Issue 913413002: DatabaseManager::terminateDatabaseThread should handle multiple DatabaseContexts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove isEmpty check Created 5 years, 10 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
« no previous file with comments | « no previous file | Source/modules/webdatabase/DatabaseManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseManager.h
diff --git a/Source/modules/webdatabase/DatabaseManager.h b/Source/modules/webdatabase/DatabaseManager.h
index 86f9ddee90a40b4b32fba61c83228593258403f1..4d4e8ea7fb7c18de64e616b331fbd743b7a49f79 100644
--- a/Source/modules/webdatabase/DatabaseManager.h
+++ b/Source/modules/webdatabase/DatabaseManager.h
@@ -84,6 +84,9 @@ private:
static void logErrorMessage(ExecutionContext*, const String& message);
+ // m_contextMap can have two or more entries even though we don't support
+ // Web SQL on workers because single Blink process can have multiple main
+ // contexts.
typedef PersistentHeapHashMap<ExecutionContext*, Member<DatabaseContext>> ContextMap;
ContextMap m_contextMap;
#if ENABLE(ASSERT)
« no previous file with comments | « no previous file | Source/modules/webdatabase/DatabaseManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698