diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 15:15:04 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 15:15:04 +0000 |
commit | 304ec81ab688aca029f9fa29511e80363dca2de3 (patch) | |
tree | 879adf2b5faa180978d941c2b463e102742eb3d9 /chrome/browser/gtk | |
parent | 709b48cfeee372888ffee517e201568fa3fbd289 (diff) | |
download | chromium_src-304ec81ab688aca029f9fa29511e80363dca2de3.zip chromium_src-304ec81ab688aca029f9fa29511e80363dca2de3.tar.gz chromium_src-304ec81ab688aca029f9fa29511e80363dca2de3.tar.bz2 |
Lands http://codereview.chromium.org/214030 for Thiago:
Avoids the unnecessary conversion to wstring when calling the WriteBookmarks function, using FilePath instead.
BUG=None
TEST=run unit_tests.exe
Review URL: http://codereview.chromium.org/239002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r-- | chrome/browser/gtk/bookmark_manager_gtk.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/gtk/bookmark_manager_gtk.cc b/chrome/browser/gtk/bookmark_manager_gtk.cc index aa8f0bc..5ee3d53 100644 --- a/chrome/browser/gtk/bookmark_manager_gtk.cc +++ b/chrome/browser/gtk/bookmark_manager_gtk.cc @@ -1422,8 +1422,7 @@ void BookmarkManagerGtk::FileSelected(const FilePath& path, } else if (id == IDS_BOOKMARK_MANAGER_EXPORT_MENU) { if (g_browser_process->io_thread()) { bookmark_html_writer::WriteBookmarks( - g_browser_process->io_thread()->message_loop(), model_, - path.ToWStringHack()); + g_browser_process->io_thread()->message_loop(), model_, path); } } else { NOTREACHED(); |