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

Unified Diff: content/browser/indexed_db/indexed_db_transaction_coordinator.cc

Issue 2727733004: [IndexedDB] Closing mojo connections when renderer quits (Closed)
Patch Set: Created 3 years, 10 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
Index: content/browser/indexed_db/indexed_db_transaction_coordinator.cc
diff --git a/content/browser/indexed_db/indexed_db_transaction_coordinator.cc b/content/browser/indexed_db/indexed_db_transaction_coordinator.cc
index f26782b618d6b90e18cf11acf3a908deda7fdacd..d2f9a31177778616ab3675fd9ac0607fec6c076f 100644
--- a/content/browser/indexed_db/indexed_db_transaction_coordinator.cc
+++ b/content/browser/indexed_db/indexed_db_transaction_coordinator.cc
@@ -101,8 +101,10 @@ void IndexedDBTransactionCoordinator::RecordMetrics() const {
}
void IndexedDBTransactionCoordinator::ProcessQueuedTransactions() {
- if (queued_transactions_.empty())
+ if (queued_transactions_.empty()) {
+ RecordMetrics();
pwnall 2017/03/03 01:41:12 Is this a leftover from a different CL?
dmurph 2017/03/04 00:39:41 removed - I had the trace url dependency in here.
return;
+ }
DCHECK(!IsRunningVersionChangeTransaction());

Powered by Google App Engine
This is Rietveld 408576698