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

Unified Diff: content/browser/indexed_db/indexed_db_factory_impl.cc

Issue 532833003: content/ fixups for scoped_refptr operator T* removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error Created 6 years, 3 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: content/browser/indexed_db/indexed_db_factory_impl.cc
diff --git a/content/browser/indexed_db/indexed_db_factory_impl.cc b/content/browser/indexed_db/indexed_db_factory_impl.cc
index 069ade5db2d18806d64791b1ea3250b1154ed2be..b9a2042555782bb3517e086b7000efd19305bbcc 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()));
}
}
« no previous file with comments | « chrome/browser/platform_util_win.cc ('k') | content/browser/renderer_host/media/video_capture_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698