summaryrefslogtreecommitdiff
path: root/chromium/components/spellcheck/common/spellcheck_common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/spellcheck/common/spellcheck_common.cc')
-rw-r--r--chromium/components/spellcheck/common/spellcheck_common.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/components/spellcheck/common/spellcheck_common.cc b/chromium/components/spellcheck/common/spellcheck_common.cc
index 4896516906c..0c676161b28 100644
--- a/chromium/components/spellcheck/common/spellcheck_common.cc
+++ b/chromium/components/spellcheck/common/spellcheck_common.cc
@@ -137,8 +137,7 @@ base::FilePath GetVersionedFileName(base::StringPiece input_language,
}
std::string versioned_bdict_file_name(language + version + ".bdic");
#else
- std::string language = GetSpellCheckLanguageRegion(input_language);
- std::string versioned_bdict_file_name(language + ".bdic");
+ std::string versioned_bdict_file_name(input_language + ".bdic");
#endif
return dict_dir.AppendASCII(versioned_bdict_file_name);
}