Index: third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp |
index 9bea88c3318d81a105f0138c43387e967046971f..6adaf192808aa12357def83dbd859338906df47b 100644 |
--- a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp |
@@ -554,7 +554,7 @@ void IDBRequest::enqueueEvent(Event* event) { |
void IDBRequest::dequeueEvent(Event* event) { |
for (size_t i = 0; i < m_enqueuedEvents.size(); ++i) { |
if (m_enqueuedEvents[i].get() == event) |
- m_enqueuedEvents.remove(i); |
+ m_enqueuedEvents.erase(i); |
} |
} |