diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-03 21:45:06 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-03 21:45:06 +0000 |
commit | 37d39aa90e3121030f129407a82d53e50a85837d (patch) | |
tree | 1be396760ac136abcd0d1397b3d8b8a127c59bc0 /chrome/browser/gtk/bookmark_editor_gtk.cc | |
parent | 340943147a0cae34ab3dd20f0b97def51abab24e (diff) | |
download | chromium_src-37d39aa90e3121030f129407a82d53e50a85837d.zip chromium_src-37d39aa90e3121030f129407a82d53e50a85837d.tar.gz chromium_src-37d39aa90e3121030f129407a82d53e50a85837d.tar.bz2 |
Remove the deprecated version of FixupURL and fix the callers.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/455022
Patch from tfarina.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/bookmark_editor_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/bookmark_editor_gtk.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/gtk/bookmark_editor_gtk.cc b/chrome/browser/gtk/bookmark_editor_gtk.cc index 6b32462..6dd3957 100644 --- a/chrome/browser/gtk/bookmark_editor_gtk.cc +++ b/chrome/browser/gtk/bookmark_editor_gtk.cc @@ -282,9 +282,8 @@ GURL BookmarkEditorGtk::GetInputURL() const { if (!url_entry_) return GURL(); // Happens when we're editing a folder. - std::wstring input = URLFixerUpper::FixupURL( - UTF8ToWide(gtk_entry_get_text(GTK_ENTRY(url_entry_))), L""); - return GURL(WideToUTF8(input)); + return GURL(URLFixerUpper::FixupURL( + gtk_entry_get_text(GTK_ENTRY(url_entry_)), "")); } std::wstring BookmarkEditorGtk::GetInputTitle() const { |