Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11001)

Unified Diff: chrome/browser/views/options/language_combobox_model.cc

Issue 126223: Replace std:;wstring with std::string in locale-name related APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/options/language_combobox_model.cc
===================================================================
--- chrome/browser/views/options/language_combobox_model.cc (revision 19124)
+++ chrome/browser/views/options/language_combobox_model.cc (working copy)
@@ -33,8 +33,7 @@
void LanguageComboboxModel::InitNativeNames(
const std::vector<std::string>& locale_codes) {
- const std::string app_locale = WideToASCII(
- g_browser_process->GetApplicationLocale());
+ const std::string app_locale = g_browser_process->GetApplicationLocale();
for (size_t i = 0; i < locale_codes.size(); ++i) {
std::string locale_code_str = locale_codes[i];
const char* locale_code = locale_codes[i].c_str();
« no previous file with comments | « chrome/browser/views/options/fonts_page_view.cc ('k') | chrome/browser/views/options/languages_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698