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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs Created 3 years, 10 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: third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp
index 13bd2e2d3eb85cae9ad1350ba61b5752936773ec..4a203c1d7a9b3f15e5d5ecae40999cb234384bb1 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp
@@ -81,7 +81,7 @@ void IDBObserver::observe(IDBDatabase* database,
int32_t observerId =
database->addObserver(this, transaction->id(), options.transaction(),
options.noRecords(), options.values(), types);
- m_observerIds.add(observerId, database);
+ m_observerIds.insert(observerId, database);
}
void IDBObserver::unobserve(IDBDatabase* database,

Powered by Google App Engine
This is Rietveld 408576698