Chromium Code Reviews| 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 92679997104233f29b6b871cb0f51a773d2522ac..ff948a1620b5cb7e1cb6e2a3b5c12e3cd3b611e5 100644 |
| --- a/content/browser/indexed_db/indexed_db_transaction.cc |
| +++ b/content/browser/indexed_db/indexed_db_transaction.cc |
| @@ -315,7 +315,11 @@ leveldb::Status IndexedDBTransaction::CommitPhaseTwo() { |
| if (committed) { |
| abort_task_stack_.clear(); |
| - callbacks_->OnComplete(id_); |
| + { |
| + IDB_TRACE1("IndexedDBTransaction:TransactionCompleteCallbacks:", "txn.id", |
|
cmumford
2015/08/03 17:31:33
colon in wrong place.
dmurph
2015/08/05 15:30:32
Done.
|
| + id()); |
| + callbacks_->OnComplete(id_); |
| + } |
| database_->TransactionFinished(this, true); |
| } else { |
| while (!abort_task_stack_.empty()) |
| @@ -407,6 +411,7 @@ void IndexedDBTransaction::Timeout() { |
| } |
| void IndexedDBTransaction::CloseOpenCursors() { |
| + IDB_TRACE1("IndexedDBTransaction::CloseOpenCursors", "txn.id", id()); |
| for (auto* cursor : open_cursors_) |
| cursor->Close(); |
| open_cursors_.clear(); |