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

Unified Diff: chrome/browser/gtk/options/fonts_page_gtk.cc

Issue 3159031: Remove wstrings from bookmarks, part 12. (Closed)
Patch Set: rebased ToT Created 10 years, 4 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/gtk/options/fonts_page_gtk.cc
diff --git a/chrome/browser/gtk/options/fonts_page_gtk.cc b/chrome/browser/gtk/options/fonts_page_gtk.cc
index f9c254a13496483074a398452e63c4157b07a0a5..15ebf9b185f95abf1a52d6f3f8b49fde60159c72 100644
--- a/chrome/browser/gtk/options/fonts_page_gtk.cc
+++ b/chrome/browser/gtk/options/fonts_page_gtk.cc
@@ -116,7 +116,7 @@ void FontsPageGtk::InitDefaultEncodingComboBox() {
for (int i = 0; i < default_encoding_combobox_model_->GetItemCount(); ++i) {
gtk_combo_box_append_text(
GTK_COMBO_BOX(default_encoding_combobox_),
- WideToUTF8(default_encoding_combobox_model_->GetItemAt(i)).c_str());
+ UTF16ToUTF8(default_encoding_combobox_model_->GetItemAt(i)).c_str());
}
}
« no previous file with comments | « chrome/browser/gtk/options/content_exception_editor.cc ('k') | chrome/browser/gtk/options/languages_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698