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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.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/DatabaseTracker.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.h b/third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.h
index 308c95b52aaf4b113cbf6a97fc341a80b1061947..5d01bddf29569d7623c4a601aeee02ab6bbbc7e6 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.h
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.h
@@ -74,7 +74,7 @@ public:
void failedToOpenDatabase(Database*);
private:
- using DatabaseSet = HashSet<UntracedMember<Database>>;
+ using DatabaseSet = HashSet<CrossThreadPersistent<Database>>;
using DatabaseNameMap = HashMap<String, DatabaseSet*>;
using DatabaseOriginMap = HashMap<String, DatabaseNameMap*>;
class CloseOneDatabaseImmediatelyTask;
@@ -85,9 +85,6 @@ private:
Mutex m_openDatabaseMapGuard;
- // This map contains untraced pointers to a garbage-collected class. We can't
- // make this traceable because it is updated by multiple database threads.
- // See http://crbug.com/417990
mutable OwnPtr<DatabaseOriginMap> m_openDatabaseMap;
};

Powered by Google App Engine
This is Rietveld 408576698