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 |