Index: content/common/indexed_db/proxy_webidbdatabase_impl.cc |
diff --git a/content/common/indexed_db/proxy_webidbdatabase_impl.cc b/content/common/indexed_db/proxy_webidbdatabase_impl.cc |
index 4a4c27c31ba0138be7277d16c3961ea6d00913a5..c1e877cc6df234dd6dedbcf62305fea485d87874 100644 |
--- a/content/common/indexed_db/proxy_webidbdatabase_impl.cc |
+++ b/content/common/indexed_db/proxy_webidbdatabase_impl.cc |
@@ -38,6 +38,9 @@ RendererWebIDBDatabaseImpl::~RendererWebIDBDatabaseImpl() { |
// any such pointers. |
IndexedDBDispatcher::Send(new IndexedDBHostMsg_DatabaseDestroyed( |
idb_database_id_)); |
+ IndexedDBDispatcher* dispatcher = |
+ IndexedDBDispatcher::ThreadSpecificInstance(); |
+ dispatcher->DatabaseDestroyed(idb_database_id_); |
} |
WebIDBMetadata RendererWebIDBDatabaseImpl::metadata() const { |