Chromium Code Reviews| 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; |