Index: Source/modules/indexeddb/IDBObjectStore.cpp |
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp |
index 8790a913010f59990f33a36a1710dd0a9a3dbc32..8b5380153bf209f9bb1bd221787895d793e3d706 100644 |
--- a/Source/modules/indexeddb/IDBObjectStore.cpp |
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp |
@@ -425,7 +425,7 @@ PassRefPtr<IDBIndex> IDBObjectStore::createIndex(ExecutionContext* context, cons |
// This is kept alive by being the success handler of the request, which is in turn kept alive by the owning transaction. |
RefPtr<IndexPopulator> indexPopulator = IndexPopulator::create(backendDB(), m_transaction->id(), id(), metadata); |
- indexRequest->setOnsuccess(indexPopulator); |
+ indexRequest->setOnsuccess(indexPopulator, DOMWrapperWorld::current()); |
return index.release(); |
} |