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

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

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update Created 4 years, 5 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
« no previous file with comments | « content/browser/host_zoom_map_impl.cc ('k') | content/browser/indexed_db/leveldb/leveldb_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_database.cc
diff --git a/content/browser/indexed_db/indexed_db_database.cc b/content/browser/indexed_db/indexed_db_database.cc
index 055042042684a0ea5230d10007cd071ca69e9940..e7a98c053892ac97dc76ad4465ef023924054d13 100644
--- a/content/browser/indexed_db/indexed_db_database.cc
+++ b/content/browser/indexed_db/indexed_db_database.cc
@@ -789,7 +789,7 @@ void IndexedDBDatabase::FilterObservation(IndexedDBTransaction* transaction,
int64_t object_store_id,
blink::WebIDBOperationType type,
const IndexedDBKeyRange& key_range) {
- for (const auto& connection : connections_) {
+ for (auto* connection : connections_) {
bool recorded = false;
for (const auto& observer : connection->active_observers()) {
if (!observer->IsRecordingType(type) ||
@@ -815,7 +815,7 @@ void IndexedDBDatabase::FilterObservation(IndexedDBTransaction* transaction,
void IndexedDBDatabase::SendObservations(
std::map<int32_t, std::unique_ptr<IndexedDBObserverChanges>> changes_map) {
- for (const auto& conn : connections_) {
+ for (auto* conn : connections_) {
auto it = changes_map.find(conn->id());
if (it != changes_map.end())
conn->callbacks()->OnDatabaseChange(it->first, std::move(it->second));
« no previous file with comments | « content/browser/host_zoom_map_impl.cc ('k') | content/browser/indexed_db/leveldb/leveldb_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698