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

Unified Diff: chrome/browser/gtk/options/content_exception_editor.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
« no previous file with comments | « chrome/browser/gtk/bookmark_bubble_gtk.cc ('k') | chrome/browser/gtk/options/fonts_page_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/options/content_exception_editor.cc
diff --git a/chrome/browser/gtk/options/content_exception_editor.cc b/chrome/browser/gtk/options/content_exception_editor.cc
index 10b786a159ea4046aed99dd7307c7da1eb086afb..1c65ea5859318589cb3e906d98b2bf6618e340dd 100644
--- a/chrome/browser/gtk/options/content_exception_editor.cc
+++ b/chrome/browser/gtk/options/content_exception_editor.cc
@@ -54,7 +54,7 @@ ContentExceptionEditor::ContentExceptionEditor(
action_combo_ = gtk_combo_box_new_text();
for (int i = 0; i < cb_model_.GetItemCount(); ++i) {
gtk_combo_box_append_text(GTK_COMBO_BOX(action_combo_),
- WideToUTF8(cb_model_.GetItemAt(i)).c_str());
+ UTF16ToUTF8(cb_model_.GetItemAt(i)).c_str());
}
gtk_combo_box_set_active(GTK_COMBO_BOX(action_combo_),
cb_model_.IndexForSetting(setting_));
« no previous file with comments | « chrome/browser/gtk/bookmark_bubble_gtk.cc ('k') | chrome/browser/gtk/options/fonts_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698