Index: components/translate/language_detection/language_detection_util.cc |
diff --git a/components/translate/language_detection/language_detection_util.cc b/components/translate/language_detection/language_detection_util.cc |
index 6bf05ccd502fda168533b73bb51c9652f836a72f..b45254909687c7c17b8878d2b054fa833256dc7c 100644 |
--- a/components/translate/language_detection/language_detection_util.cc |
+++ b/components/translate/language_detection/language_detection_util.cc |
@@ -278,7 +278,7 @@ void CorrectLanguageCodeTypo(std::string* code) { |
// There are more than 1 language specified, just keep the first one. |
*code = code->substr(0, coma_index); |
} |
- TrimWhitespaceASCII(*code, TRIM_ALL, code); |
+ base::TrimWhitespaceASCII(*code, base::TRIM_ALL, code); |
// An underscore instead of a dash is a frequent mistake. |
size_t underscore_index = code->find('_'); |