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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.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/SQLTransactionBackend.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h
index 62a9959146c746017ae7e4e6780db350ada4ae7c..c3504d8d860bd70eca56868d17389e5a2a1b5965 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.h
@@ -105,8 +105,8 @@ private:
void getNextStatement();
- Member<SQLTransaction> m_frontend;
- Member<SQLStatementBackend> m_currentStatementBackend;
+ CrossThreadPersistent<SQLTransaction> m_frontend;
+ CrossThreadPersistent<SQLStatementBackend> m_currentStatementBackend;
Member<Database> m_database;
Member<SQLTransactionWrapper> m_wrapper;
@@ -122,7 +122,7 @@ private:
bool m_hasVersionMismatch;
Mutex m_statementMutex;
- HeapDeque<Member<SQLStatementBackend>> m_statementQueue;
+ Deque<CrossThreadPersistent<SQLStatementBackend>> m_statementQueue;
OwnPtr<SQLiteTransaction> m_sqliteTransaction;
};

Powered by Google App Engine
This is Rietveld 408576698