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

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

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 11 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/IDBTransaction.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
index bbb188961ba0b4f3ae51a343cf42ac5221fd1c64..d08d4614921efdc69e52d1dd492224862e5a3789 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
@@ -270,7 +270,7 @@ void IDBTransaction::objectStoreDeleted(const int64_t objectStoreId,
m_deletedObjectStores.push_back(std::move(metadata));
} else {
IDBObjectStore* objectStore = it->value;
- m_objectStoreMap.remove(name);
+ m_objectStoreMap.erase(name);
objectStore->markDeleted();
if (objectStore->id() > m_oldDatabaseMetadata.maxObjectStoreId) {
// The store was created and deleted in this transaction, so it will

Powered by Google App Engine
This is Rietveld 408576698