Index: content/browser/indexed_db/indexed_db_transaction.cc |
diff --git a/content/browser/indexed_db/indexed_db_transaction.cc b/content/browser/indexed_db/indexed_db_transaction.cc |
index 7e4a9f38c7d37d3b5b602c50de5bcee63e00e4c1..36faa51da0f10ae60d4cf1f1ced48e0e20be3a80 100644 |
--- a/content/browser/indexed_db/indexed_db_transaction.cc |
+++ b/content/browser/indexed_db/indexed_db_transaction.cc |
@@ -315,7 +315,12 @@ leveldb::Status IndexedDBTransaction::CommitPhaseTwo() { |
if (committed) { |
abort_task_stack_.clear(); |
- callbacks_->OnComplete(id_); |
+ { |
+ IDB_TRACE1( |
+ "IndexedDBTransaction::CommitPhaseTwo.TransactionCompleteCallbacks", |
+ "txn.id", id()); |
+ callbacks_->OnComplete(id_); |
+ } |
database_->TransactionFinished(this, true); |
} else { |
while (!abort_task_stack_.empty()) |
@@ -409,6 +414,7 @@ void IndexedDBTransaction::Timeout() { |
} |
void IndexedDBTransaction::CloseOpenCursors() { |
+ IDB_TRACE1("IndexedDBTransaction::CloseOpenCursors", "txn.id", id()); |
for (auto* cursor : open_cursors_) |
cursor->Close(); |
open_cursors_.clear(); |