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

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

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some (incomplete) work on struct traits. 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
Index: content/browser/indexed_db/indexed_db_index_writer.cc
diff --git a/content/browser/indexed_db/indexed_db_index_writer.cc b/content/browser/indexed_db/indexed_db_index_writer.cc
index bc7a53b2cd03066611206f53ece844cac4c38300..2c60d7ed6d2695d6fe8562dfe4004e42c45b9d87 100644
--- a/content/browser/indexed_db/indexed_db_index_writer.cc
+++ b/content/browser/indexed_db/indexed_db_index_writer.cc
@@ -135,8 +135,7 @@ bool MakeIndexWriters(
*completed = false;
for (const auto& it : index_keys) {
- IndexedDBObjectStoreMetadata::IndexMap::const_iterator found =
- object_store.indexes.find(it.first);
+ const auto& found = object_store.indexes.find(it.first);
if (found == object_store.indexes.end())
continue;
const IndexedDBIndexMetadata& index = found->second;

Powered by Google App Engine
This is Rietveld 408576698