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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.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/sqlite/SQLiteDatabase.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.h b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.h
index e823970d3f7f72fdb946cf6536367c99726cd281..97a11ab351274d98d40584af25dad070e278fbea 100644
--- a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.h
+++ b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.h
@@ -112,7 +112,7 @@ public:
enum AutoVacuumPragma { AutoVacuumNone = 0, AutoVacuumFull = 1, AutoVacuumIncremental = 2 };
bool turnOnIncrementalAutoVacuum();
- DECLARE_TRACE();
+ DEFINE_INLINE_TRACE() { }
private:
static int authorizerFunction(void*, int, const char*, const char*, const char*, const char*);
@@ -128,7 +128,7 @@ private:
bool m_sharable;
Mutex m_authorizerLock;
- Member<DatabaseAuthorizer> m_authorizer;
+ CrossThreadPersistent<DatabaseAuthorizer> m_authorizer;
ThreadIdentifier m_openingThread;

Powered by Google App Engine
This is Rietveld 408576698