Index: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp |
index 352b3ed638c91d1e24f73ad073b10e60f94ac32f..236f2ad3bf4cfaa5889e9f26a3f354e336b5a207 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp |
@@ -508,7 +508,7 @@ DispatchEventResult IDBDatabase::dispatchEventInternal(Event* event) { |
event->type() == EventTypeNames::close); |
for (size_t i = 0; i < m_enqueuedEvents.size(); ++i) { |
if (m_enqueuedEvents[i].get() == event) |
- m_enqueuedEvents.remove(i); |
+ m_enqueuedEvents.erase(i); |
} |
DispatchEventResult dispatchResult = |