diff options
Diffstat (limited to 'WebCore/storage/DatabaseTracker.cpp')
-rw-r--r-- | WebCore/storage/DatabaseTracker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/storage/DatabaseTracker.cpp b/WebCore/storage/DatabaseTracker.cpp index e0ba422..1a13612 100644 --- a/WebCore/storage/DatabaseTracker.cpp +++ b/WebCore/storage/DatabaseTracker.cpp @@ -336,7 +336,7 @@ void DatabaseTracker::populateOrigins() if (m_quotaMap) return; - m_quotaMap.set(new QuotaMap); + m_quotaMap = adoptPtr(new QuotaMap); openTrackerDatabase(false); if (!m_database.isOpen()) @@ -516,7 +516,7 @@ void DatabaseTracker::addOpenDatabase(AbstractDatabase* database) MutexLocker openDatabaseMapLock(m_openDatabaseMapGuard); if (!m_openDatabaseMap) - m_openDatabaseMap.set(new DatabaseOriginMap); + m_openDatabaseMap = adoptPtr(new DatabaseOriginMap); String name(database->stringIdentifier()); DatabaseNameMap* nameMap = m_openDatabaseMap->get(database->securityOrigin()); |