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

Unified Diff: chrome/browser/ui/gtk/keyword_editor_view_unittest.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/first_run_dialog.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/keyword_editor_view_unittest.cc
===================================================================
--- chrome/browser/ui/gtk/keyword_editor_view_unittest.cc (revision 71499)
+++ chrome/browser/ui/gtk/keyword_editor_view_unittest.cc (working copy)
@@ -30,8 +30,8 @@
const std::string& keyword,
bool make_default) {
TemplateURL* template_url = new TemplateURL();
- template_url->set_short_name(UTF8ToUTF16(name));
- template_url->set_keyword(UTF8ToUTF16(keyword));
+ template_url->set_short_name(UTF8ToWide(name));
+ template_url->set_keyword(UTF8ToWide(keyword));
template_url->SetURL("http://example.com/{searchTerms}", 0, 0);
profile_->GetTemplateURLModel()->Add(template_url);
if (make_default)
« no previous file with comments | « chrome/browser/ui/gtk/first_run_dialog.cc ('k') | chrome/browser/ui/gtk/location_bar_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698