Index: trunk/src/components/translate/core/language_detection/language_detection_util.cc |
=================================================================== |
--- trunk/src/components/translate/core/language_detection/language_detection_util.cc (revision 289319) |
+++ trunk/src/components/translate/core/language_detection/language_detection_util.cc (working copy) |
@@ -292,7 +292,7 @@ |
size_t dash_index = code->find('-'); |
if (dash_index != std::string::npos) { |
*code = base::StringToLowerASCII(code->substr(0, dash_index)) + |
- base::StringToUpperASCII(code->substr(dash_index)); |
+ StringToUpperASCII(code->substr(dash_index)); |
} else { |
*code = base::StringToLowerASCII(*code); |
} |