Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3893)

Unified Diff: Source/modules/indexeddb/IDBObjectStore.cpp

Issue 45973006: Require DOMWrapperWorld in event handler macros (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@globaleventhandlers
Patch Set: use DOMWrapperWorld::current() Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorFileSystemAgent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « Source/core/inspector/InspectorFileSystemAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698