diff options
Diffstat (limited to 'content/browser/indexed_db/indexed_db_database.cc')
-rw-r--r-- | content/browser/indexed_db/indexed_db_database.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/content/browser/indexed_db/indexed_db_database.cc b/content/browser/indexed_db/indexed_db_database.cc index 258b01e..11ef4be 100644 --- a/content/browser/indexed_db/indexed_db_database.cc +++ b/content/browser/indexed_db/indexed_db_database.cc @@ -1402,8 +1402,14 @@ void IndexedDBDatabase::CreateTransaction( connection->callbacks(), std::set<int64>(object_store_ids.begin(), object_store_ids.end()), static_cast<indexed_db::TransactionMode>(mode), - this); - transactions_[transaction_id] = transaction; + this, + new IndexedDBBackingStore::Transaction(backing_store_)); + TransactionCreated(transaction); +} + +void IndexedDBDatabase::TransactionCreated( + scoped_refptr<IndexedDBTransaction> transaction) { + transactions_[transaction->id()] = transaction; } bool IndexedDBDatabase::IsOpenConnectionBlocked() const { |