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

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

Issue 2438233004: Make IndexedDBConnection IDs independent from the IPC database ID. (Closed)
Patch Set: Created 4 years, 2 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_database.cc
diff --git a/content/browser/indexed_db/indexed_db_database.cc b/content/browser/indexed_db/indexed_db_database.cc
index 511d3b6141cf555b543f35bc9e1842c52d7dd7a0..516dfc4f7760978c5da234e04ed9302b53ee9453 100644
--- a/content/browser/indexed_db/indexed_db_database.cc
+++ b/content/browser/indexed_db/indexed_db_database.cc
@@ -930,7 +930,7 @@ void IndexedDBDatabase::SendObservations(
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));
+ conn->callbacks()->OnDatabaseChange(std::move(it->second));
}
}
« no previous file with comments | « content/browser/indexed_db/indexed_db_connection.cc ('k') | content/browser/indexed_db/indexed_db_database_callbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698