Commit 85f85c3a authored by Bruce Long's avatar Bruce Long Committed by Commit Bot

LanguageSettingsPrivateGetLanguageListFunction has unused variable

Remove unused locale_set from method
LanguageSettingsPrivateGetLanguageListFunction::Run

Bug: 1046955
Change-Id: Ie913d5700ea9f4bf71d3824b14f8fbb0f754f942
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2028933Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Bruce Long <brlong@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#736880}
parent 1c4a210e
......@@ -204,10 +204,6 @@ LanguageSettingsPrivateGetLanguageListFunction::Run() {
translate::TranslatePrefs::GetLanguageInfoList(
app_locale, translate_prefs->IsTranslateAllowedByPolicy(), &languages);
// Get the list of available locales (display languages) and convert to a set.
const base::flat_set<std::string> locale_set(
l10n_util::GetAvailableLocales());
// Get the list of spell check languages and convert to a set.
std::vector<std::string> spellcheck_languages =
spellcheck::SpellCheckLanguages();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment