Index: content/browser/indexed_db/indexed_db_factory_impl.cc |
diff --git a/content/browser/indexed_db/indexed_db_factory_impl.cc b/content/browser/indexed_db/indexed_db_factory_impl.cc |
index f818f3f6181f7adff689abe7ec8308c47d497cfd..c59e611b39deceb211c16970ab6040a540de4ee5 100644 |
--- a/content/browser/indexed_db/indexed_db_factory_impl.cc |
+++ b/content/browser/indexed_db/indexed_db_factory_impl.cc |
@@ -237,6 +237,12 @@ void IndexedDBFactoryImpl::DeleteDatabase( |
std::string data_loss_message; |
bool disk_full = false; |
leveldb::Status s; |
+ IndexedDBBackingStoreMap::iterator it2 = backing_store_map_.find(origin_url); |
cmumford
2015/04/08 15:14:35
Just call IsBackingStoreOpen(origin_url)
|
+ if(it2 == backing_store_map_.end()) |
cmumford
2015/04/08 15:14:35
spaces, and { are incorrect. Run "git cl format" t
|
+ { |
+ ContextDestroyed(); |
+ return; |
+ } |
cmumford
2015/04/08 15:14:35
Why not have this test at the very beginning of th
|
scoped_refptr<IndexedDBBackingStore> backing_store = |
OpenBackingStore(origin_url, |
data_directory, |