diff options
Diffstat (limited to 'chrome/installer/util/l10n_string_util.cc')
-rw-r--r-- | chrome/installer/util/l10n_string_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/util/l10n_string_util.cc b/chrome/installer/util/l10n_string_util.cc index 71963ce..96f2ce7 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"); |