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 4658ca6295d22dbe2ceaa5b3f6c1b72dda9aa582..61ca2748511da043a343197e8895d1c5ed63990a 100644 |
--- a/content/browser/indexed_db/indexed_db_transaction.cc |
+++ b/content/browser/indexed_db/indexed_db_transaction.cc |
@@ -238,6 +238,8 @@ void IndexedDBTransaction::BlobWriteComplete(bool success) { |
leveldb::Status IndexedDBTransaction::Commit() { |
IDB_TRACE1("IndexedDBTransaction::Commit", "txn.id", id()); |
+ timeout_timer_.Stop(); |
+ |
// In multiprocess ports, front-end may have requested a commit but |
// an abort has already been initiated asynchronously by the |
// back-end. |
@@ -285,8 +287,6 @@ leveldb::Status IndexedDBTransaction::CommitPhaseTwo() { |
// alive while executing this method. |
scoped_refptr<IndexedDBTransaction> protect(this); |
- timeout_timer_.Stop(); |
- |
state_ = FINISHED; |
leveldb::Status s; |