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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBMetadata.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/IDBMetadata.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.cpp
index ee06bc6e668231c9a7132eb41382c8dbf5e9dcb7..d12ca0751303198d462224bc5986dabdffea93a3 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.cpp
@@ -47,7 +47,7 @@ RefPtr<IDBObjectStoreMetadata> IDBObjectStoreMetadata::createCopy() const {
RefPtr<IDBIndexMetadata> indexCopy =
adoptRef(new IDBIndexMetadata(index->name, index->id, index->keyPath,
index->unique, index->multiEntry));
- copy->indexes.add(it.key, std::move(indexCopy));
+ copy->indexes.insert(it.key, std::move(indexCopy));
}
return copy;
}

Powered by Google App Engine
This is Rietveld 408576698