Index: third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp |
index 34ff64c5ba89440f5749693ef14f883c79ab547d..eb6d1fd58abfb01b6967fa102ccc47930a4e400c 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp |
@@ -846,12 +846,12 @@ void IDBObjectStore::deleteIndex(const String& name, |
backendDB()->deleteIndex(m_transaction->id(), id(), indexId); |
- m_metadata->indexes.remove(indexId); |
+ m_metadata->indexes.erase(indexId); |
IDBIndexMap::iterator it = m_indexMap.find(name); |
if (it != m_indexMap.end()) { |
m_transaction->indexDeleted(it->value); |
it->value->markDeleted(); |
- m_indexMap.remove(name); |
+ m_indexMap.erase(name); |
} |
} |