| Index: components/safe_browsing_db/v4_database.cc
|
| diff --git a/components/safe_browsing_db/v4_database.cc b/components/safe_browsing_db/v4_database.cc
|
| index 53035fc40e23a00ee71c6981dbb353672600cb30..343e85ae02459783f0d7079a29340ec1d2026a38 100644
|
| --- a/components/safe_browsing_db/v4_database.cc
|
| +++ b/components/safe_browsing_db/v4_database.cc
|
| @@ -217,10 +217,12 @@ bool V4Database::AreStoresAvailable(
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| for (const ListIdentifier& identifier : stores_to_check) {
|
| const auto& store_pair = store_map_->find(identifier);
|
| - if (store_pair == store_map_->end())
|
| + if (store_pair == store_map_->end()) {
|
| return false; // Store not in our list
|
| - if (!store_pair->second->HasValidData())
|
| + }
|
| + if (!store_pair->second->HasValidData()) {
|
| return false; // Store never properly populated.
|
| + }
|
| }
|
| return true;
|
| }
|
|
|