summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/translate/common/translate_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/translate/common/translate_util.cc b/components/translate/common/translate_util.cc
index 4e151d3..0ed624d 100644
--- a/components/translate/common/translate_util.cc
+++ b/components/translate/common/translate_util.cc
@@ -77,7 +77,7 @@ void ToTranslateLanguageSynonym(std::string* language) {
if (main_part.empty())
return;
- // Apply liner search here because number of items in the list is just four.
+ // Apply linear search here because number of items in the list is just four.
for (size_t i = 0; i < arraysize(kLanguageCodeSynonyms); ++i) {
if (main_part == kLanguageCodeSynonyms[i].chrome_language) {
main_part = std::string(kLanguageCodeSynonyms[i].translate_language);