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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h

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/DatabaseThread.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h
index f8a726eec7a167f3a0ce364b2f2aceaf21826686..26355298396228021d4869de283107c749eac280 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h
@@ -77,10 +77,10 @@ private:
// This set keeps track of the open databases that have been used on this thread.
// This must be updated in the database thread though it is constructed and
// destructed in the context thread.
- HeapHashSet<Member<Database>> m_openDatabaseSet;
+ HashSet<CrossThreadPersistent<Database>> m_openDatabaseSet;
OwnPtr<SQLTransactionClient> m_transactionClient;
- Member<SQLTransactionCoordinator> m_transactionCoordinator;
+ CrossThreadPersistent<SQLTransactionCoordinator> m_transactionCoordinator;
TaskSynchronizer* m_cleanupSync;
Mutex m_terminationRequestedMutex;

Powered by Google App Engine
This is Rietveld 408576698