| Index: content/browser/indexed_db/indexed_db_context_impl.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_context_impl.cc b/content/browser/indexed_db/indexed_db_context_impl.cc
|
| index 69dfa270eac988a11d4f7dce0c508c5a0c2b7b40..1d3e97554c4c17e6744df9f7c47a3e76bc2b1178 100644
|
| --- a/content/browser/indexed_db/indexed_db_context_impl.cc
|
| +++ b/content/browser/indexed_db/indexed_db_context_impl.cc
|
| @@ -335,19 +335,6 @@ void IndexedDBContextImpl::ForceClose(const GURL origin_url) {
|
| if (data_path_.empty() || !IsInOriginSet(origin_url))
|
| return;
|
|
|
| - if (connections_.find(origin_url) != connections_.end()) {
|
| - ConnectionSet& connections = connections_[origin_url];
|
| - ConnectionSet::iterator it = connections.begin();
|
| - while (it != connections.end()) {
|
| - // Remove before closing so callbacks don't double-erase
|
| - IndexedDBConnection* connection = *it;
|
| - DCHECK(connection->IsConnected());
|
| - connections.erase(it++);
|
| - connection->ForceClose();
|
| - }
|
| - DCHECK_EQ(connections_[origin_url].size(), 0UL);
|
| - connections_.erase(origin_url);
|
| - }
|
| if (factory_)
|
| factory_->ForceClose(origin_url);
|
| }
|
|
|