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

Unified Diff: chrome/browser/chromeos/options/language_config_util.h

Issue 6156001: Remove wstring from l10n_util. Part 8, the last part.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/chromeos/options/language_config_util.h
===================================================================
--- chrome/browser/chromeos/options/language_config_util.h (revision 70736)
+++ chrome/browser/chromeos/options/language_config_util.h (working copy)
@@ -51,7 +51,7 @@
// Gets a label for the combobox like "Input mode". This function is NOT part
// of the ComboboxModel interface.
std::wstring GetLabel() const {
- return l10n_util::GetString(pref_data_->label_message_id);
+ return UTF16ToWide(l10n_util::GetStringUTF16(pref_data_->label_message_id));
}
// Gets a config value for the ibus configuration daemon (e.g. "KUTEN_TOUTEN",

Powered by Google App Engine
This is Rietveld 408576698