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 ff7ba2b5bd9a9509ee6cf3d085763a1d3dde7270..91a851f21eea2004ee295c9b30a1bf9e717df695 100644 |
--- a/content/browser/indexed_db/indexed_db_transaction.cc |
+++ b/content/browser/indexed_db/indexed_db_transaction.cc |
@@ -318,14 +318,11 @@ |
return; |
// Otherwise, start a timer in case the front-end gets wedged and |
- // never requests further activity. Read-only transactions don't |
- // block other transactions, so don't time those out. |
- if (mode_ != indexed_db::TRANSACTION_READ_ONLY) { |
- timeout_timer_.Start( |
- FROM_HERE, |
- base::TimeDelta::FromSeconds(kInactivityTimeoutPeriodSeconds), |
- base::Bind(&IndexedDBTransaction::Timeout, this)); |
- } |
+ // never requests further activity. |
+ timeout_timer_.Start( |
+ FROM_HERE, |
+ base::TimeDelta::FromSeconds(kInactivityTimeoutPeriodSeconds), |
+ base::Bind(&IndexedDBTransaction::Timeout, this)); |
} |
void IndexedDBTransaction::Timeout() { |