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

Unified Diff: chrome/browser/character_encoding.cc

Issue 5990008: Remove wstring from l10n_util. Part 1.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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/character_encoding.cc
===================================================================
--- chrome/browser/character_encoding.cc (revision 70069)
+++ chrome/browser/character_encoding.cc (working copy)
@@ -293,9 +293,9 @@
CharacterEncoding::EncodingInfo::EncodingInfo(int id)
: encoding_id(id) {
- encoding_category_name = UTF8ToWide(GetEncodingCategoryStringByCommandId(id));
- encoding_display_name = UTF16ToWideHack(
- GetCanonicalEncodingDisplayNameByCommandId(id));
+ encoding_category_name =
+ UTF8ToUTF16(GetEncodingCategoryStringByCommandId(id));
Evan Martin 2010/12/24 01:00:42 one line?
+ encoding_display_name = GetCanonicalEncodingDisplayNameByCommandId(id);
}
// Static.

Powered by Google App Engine
This is Rietveld 408576698