diff options
-rw-r--r-- | chrome/browser/extensions/external_pref_extension_provider.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/extensions/external_pref_extension_provider.cc b/chrome/browser/extensions/external_pref_extension_provider.cc index ca18753..5ed1a5e 100644 --- a/chrome/browser/extensions/external_pref_extension_provider.cc +++ b/chrome/browser/extensions/external_pref_extension_provider.cc @@ -66,11 +66,8 @@ void ExternalPrefExtensionProvider::VisitRegisteredExtension( Version* ExternalPrefExtensionProvider::RegisteredVersion( std::string id, Extension::Location* location) const { DictionaryValue* extension = NULL; - if (!prefs_->GetDictionary(ASCIIToWide(id), &extension)) { - NOTREACHED() << "Cannot read extension " << id.c_str() - << " from dictionary."; + if (!prefs_->GetDictionary(ASCIIToWide(id), &extension)) return NULL; - } std::string external_version; if (!extension->GetString(kExternalVersion, &external_version)) |