summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/IDBFactoryBackendImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/storage/IDBFactoryBackendImpl.h')
-rw-r--r--WebCore/storage/IDBFactoryBackendImpl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/storage/IDBFactoryBackendImpl.h b/WebCore/storage/IDBFactoryBackendImpl.h
index 381c402..d618fe2 100644
--- a/WebCore/storage/IDBFactoryBackendImpl.h
+++ b/WebCore/storage/IDBFactoryBackendImpl.h
@@ -50,8 +50,9 @@ public:
}
virtual ~IDBFactoryBackendImpl();
- // IDBSQLiteDatabase's lifetime may be shorter than ours, so we need notification when it dies.
- void removeSQLiteDatabase(const String& filePath);
+ // Notifications from weak pointers.
+ void removeIDBDatabaseBackend(const String& uniqueIdentifier);
+ void removeSQLiteDatabase(const String& uniqueIdentifier);
virtual void open(const String& name, const String& description, PassRefPtr<IDBCallbacks>, PassRefPtr<SecurityOrigin>, Frame*, const String& dataDir, int64_t maximumSize);
@@ -60,8 +61,7 @@ public:
private:
IDBFactoryBackendImpl();
- // FIXME: Just hold a weak pointer.
- typedef HashMap<String, RefPtr<IDBDatabaseBackendImpl> > IDBDatabaseBackendMap;
+ typedef HashMap<String, IDBDatabaseBackendImpl*> IDBDatabaseBackendMap;
IDBDatabaseBackendMap m_databaseBackendMap;
typedef HashMap<String, IDBSQLiteDatabase*> SQLiteDatabaseMap;