summaryrefslogtreecommitdiffstats
path: root/content/browser/indexed_db/indexed_db_factory_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/indexed_db/indexed_db_factory_impl.cc')
-rw-r--r--content/browser/indexed_db/indexed_db_factory_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/indexed_db/indexed_db_factory_impl.cc b/content/browser/indexed_db/indexed_db_factory_impl.cc
index 069ade5..b9a2042 100644
--- a/content/browser/indexed_db/indexed_db_factory_impl.cc
+++ b/content/browser/indexed_db/indexed_db_factory_impl.cc
@@ -276,7 +276,7 @@ void IndexedDBFactoryImpl::DeleteDatabase(
}
database_map_[unique_identifier] = database.get();
- origin_dbs_.insert(std::make_pair(origin_url, database));
+ origin_dbs_.insert(std::make_pair(origin_url, database.get()));
database->DeleteDatabase(callbacks);
RemoveDatabaseFromMaps(unique_identifier);
database = NULL;
@@ -482,7 +482,7 @@ void IndexedDBFactoryImpl::Open(const base::string16& name,
if (!was_open && database->ConnectionCount() > 0) {
database_map_[unique_identifier] = database.get();
- origin_dbs_.insert(std::make_pair(origin_url, database));
+ origin_dbs_.insert(std::make_pair(origin_url, database.get()));
}
}