Index: Source/modules/indexeddb/IDBObjectStore.cpp |
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp |
index 12c0114c4f3ccbfd6b77a526a94f2ef647c2e505..8804bcf92144619bbc450f9d21eefac279d5d36c 100644 |
--- a/Source/modules/indexeddb/IDBObjectStore.cpp |
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp |
@@ -333,7 +333,7 @@ private: |
Vector<int64_t> indexIds; |
indexIds.append(m_indexMetadata.id); |
- if (cursor) { |
+ if (cursor && !cursor->isDeleted()) { |
cursor->continueFunction(static_cast<IDBKey*>(0), static_cast<IDBKey*>(0), ASSERT_NO_EXCEPTION); |
RefPtr<IDBKey> primaryKey = cursor->idbPrimaryKey(); |