Index: Source/modules/indexeddb/IDBObjectStore.cpp |
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp |
index 44e5626f2cf738e3a6d6b8ad71bb39195e53187f..209a4a26ba690e8c3a8b4921c60d66f6ce3b4f86 100644 |
--- a/Source/modules/indexeddb/IDBObjectStore.cpp |
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp |
@@ -289,7 +289,7 @@ namespace { |
// cursor success handlers are kept alive. |
class IndexPopulator : public EventListener { |
public: |
- static PassRefPtr<IndexPopulator> create(PassRefPtr<IDBDatabaseBackendInterface> backend, int64_t transactionId, int64_t objectStoreId, const IDBIndexMetadata& indexMetadata) |
+ static PassRefPtr<IndexPopulator> create(IDBDatabaseBackendInterface* backend, int64_t transactionId, int64_t objectStoreId, const IDBIndexMetadata& indexMetadata) |
{ |
return adoptRef(new IndexPopulator(backend, transactionId, objectStoreId, indexMetadata)); |
} |
@@ -300,7 +300,7 @@ public: |
} |
private: |
- IndexPopulator(PassRefPtr<IDBDatabaseBackendInterface> backend, int64_t transactionId, int64_t objectStoreId, const IDBIndexMetadata& indexMetadata) |
+ IndexPopulator(IDBDatabaseBackendInterface* backend, int64_t transactionId, int64_t objectStoreId, const IDBIndexMetadata& indexMetadata) |
: EventListener(CPPEventListenerType) |
, m_databaseBackend(backend) |
, m_transactionId(transactionId) |
@@ -344,7 +344,7 @@ private: |
} |
- RefPtr<IDBDatabaseBackendInterface> m_databaseBackend; |
+ Persistent<IDBDatabaseBackendInterface> m_databaseBackend; |
const int64_t m_transactionId; |
const int64_t m_objectStoreId; |
const IDBIndexMetadata m_indexMetadata; |