Index: chrome/installer/util/l10n_string_util.cc |
diff --git a/chrome/installer/util/l10n_string_util.cc b/chrome/installer/util/l10n_string_util.cc |
index 71963ce0b2683b589bb1768031253f14771b6562..96f2ce70d2c6213096385378f6940ec2d6fd1887 100644 |
--- a/chrome/installer/util/l10n_string_util.cc |
+++ b/chrome/installer/util/l10n_string_util.cc |
@@ -72,9 +72,9 @@ std::wstring GetLocalizedEulaResource() { |
return L""; |
// The resource names are more or less the upcased language names. |
- std::wstring language(GetLanguageSelector().selected_translation()); |
+ base::string16 language(GetLanguageSelector().selected_translation()); |
std::replace(language.begin(), language.end(), L'-', L'_'); |
- base::StringToUpperASCII(&language); |
+ language = base::ToUpperASCII(language); |
std::wstring resource(L"IDR_OEMPG_"); |
resource.append(language).append(L".HTML"); |