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

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

Issue 201083003: Oilpan: Prepare to move DatabaseThread and SQLTransactionCoordinator to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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: Source/modules/webdatabase/DatabaseContext.h
diff --git a/Source/modules/webdatabase/DatabaseContext.h b/Source/modules/webdatabase/DatabaseContext.h
index 4cf60dd240705dba6351bd847711ffc9f54ab83a..93faf8cca110619ad6d9a9fe65492e59a5cdd074 100644
--- a/Source/modules/webdatabase/DatabaseContext.h
+++ b/Source/modules/webdatabase/DatabaseContext.h
@@ -75,7 +75,7 @@ private:
void stopSyncDatabases();
- RefPtr<DatabaseThread> m_databaseThread;
+ RefPtrWillBePersistent<DatabaseThread> m_databaseThread;
Mads Ager (chromium) 2014/03/19 09:45:26 This Persistent is in a ThreadSafeRefCounted class
tkent 2014/03/19 23:43:53 Good point. DatabaseThread doesn't need to be Thre
Mads Ager (chromium) 2014/03/20 06:24:16 Thanks for that part of the explanation Kent! The
Mads Ager (chromium) 2014/03/20 06:26:03 It probably is. I guess this is the execution cont
tkent 2014/03/20 07:50:10 created it? Yes. A DatabaseContext object can be
// The contents of m_openSyncDatabases are raw pointers. It's safe because
// DatabaseBackendSync is always closed before destruction.
HashSet<DatabaseBackendBase*> m_openSyncDatabases;
« no previous file with comments | « no previous file | Source/modules/webdatabase/DatabaseThread.h » ('j') | Source/modules/webdatabase/DatabaseThread.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698