Index: components/translate/core/browser/translate_prefs.cc |
diff --git a/components/translate/core/browser/translate_prefs.cc b/components/translate/core/browser/translate_prefs.cc |
index a61cb1eeddf6413d39b5ea47111205c99f958ce6..127e25b9ecc236502ce049dbf62fcddbc862f7c9 100644 |
--- a/components/translate/core/browser/translate_prefs.cc |
+++ b/components/translate/core/browser/translate_prefs.cc |
@@ -614,8 +614,7 @@ double TranslatePrefs::GetReadingFromUserLanguageProfile( |
const base::DictionaryValue* item = nullptr; |
std::string language; |
double probability = 0.0; |
- if (entry->GetAsDictionary(&item) && |
- item->GetString(kLanguage, &language) && |
+ if (entry.GetAsDictionary(&item) && item->GetString(kLanguage, &language) && |
item->GetDouble(kProbability, &probability)) { |
// Normalize the the language code known and supported by |
// Translate. |