| Index: content/browser/indexed_db/indexed_db_database.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_database.cc b/content/browser/indexed_db/indexed_db_database.cc
|
| index 3196cd16d83bcd3843c77723cfa19d90390857bc..d90af34cae2fea43acb43a3348b4f29c9018fb59 100644
|
| --- a/content/browser/indexed_db/indexed_db_database.cc
|
| +++ b/content/browser/indexed_db/indexed_db_database.cc
|
| @@ -1672,18 +1672,6 @@ void IndexedDBDatabase::CreateTransaction(
|
| "WebCore.IndexedDB.Database.OutstandingTransactionCount",
|
| transactions_.size());
|
|
|
| - // Throttle transaction creation so that a renderer in a tight loop can't
|
| - // cause browser memory to grow unbounded by creating transactions faster
|
| - // than they can be processed.
|
| - const size_t kMaxTransactionCount = 256;
|
| - if (transactions_.size() >= kMaxTransactionCount) {
|
| - connection->callbacks()->OnAbort(
|
| - transaction_id, IndexedDBDatabaseError(
|
| - blink::WebIDBDatabaseExceptionUnknownError,
|
| - "Internal error: Too many transactions queued."));
|
| - return;
|
| - }
|
| -
|
| // The transaction will add itself to this database's coordinator, which
|
| // manages the lifetime of the object.
|
| TransactionCreated(IndexedDBClassFactory::Get()->CreateIndexedDBTransaction(
|
|
|