| Index: components/translate/core/language_detection/language_detection_util.cc
|
| diff --git a/components/translate/core/language_detection/language_detection_util.cc b/components/translate/core/language_detection/language_detection_util.cc
|
| index 0280aa67525ae86dbb45f18c915dbc826d759f01..35a21b9019e007035260299103fcf259c355070c 100644
|
| --- a/components/translate/core/language_detection/language_detection_util.cc
|
| +++ b/components/translate/core/language_detection/language_detection_util.cc
|
| @@ -291,10 +291,10 @@ void CorrectLanguageCodeTypo(std::string* code) {
|
| // Change everything up to a dash to lower-case and everything after to upper.
|
| size_t dash_index = code->find('-');
|
| if (dash_index != std::string::npos) {
|
| - *code = StringToLowerASCII(code->substr(0, dash_index)) +
|
| + *code = base::StringToLowerASCII(code->substr(0, dash_index)) +
|
| StringToUpperASCII(code->substr(dash_index));
|
| } else {
|
| - *code = StringToLowerASCII(*code);
|
| + *code = base::StringToLowerASCII(*code);
|
| }
|
| }
|
|
|
|
|