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

Unified Diff: chrome/browser/ui/gtk/options/general_page_gtk.cc

Issue 6291003: Revert 71485 - Remove wstring from TemplateURL and friends.... (Closed) Base URL: svn://svn.chromium.org/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
« no previous file with comments | « chrome/browser/ui/gtk/location_bar_view_gtk.cc ('k') | chrome/browser/ui/omnibox/location_bar_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/options/general_page_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/options/general_page_gtk.cc (revision 71499)
+++ chrome/browser/ui/gtk/options/general_page_gtk.cc (working copy)
@@ -686,7 +686,7 @@
default_search_engines_model_, &iter,
SEARCH_ENGINES_COL_INDEX, i,
SEARCH_ENGINES_COL_TITLE,
- UTF16ToUTF8(model_urls[i]->short_name()).c_str(),
+ WideToUTF8(model_urls[i]->short_name()).c_str(),
-1);
if (model_urls[i] == default_search_provider) {
gtk_combo_box_set_active_iter(
« no previous file with comments | « chrome/browser/ui/gtk/location_bar_view_gtk.cc ('k') | chrome/browser/ui/omnibox/location_bar_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698