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/bookmarks/bookmark_html_writer_unittest.cc | |
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/bookmarks/bookmark_html_writer_unittest.cc')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_html_writer_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc b/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc index 499189a..5f35d24 100644 --- a/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc +++ b/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc @@ -106,7 +106,7 @@ TEST_F(BookmarkHTMLWriterTest, DISABLED_Test) { url4, t4); // Write to a temp file. - bookmark_html_writer::WriteBookmarks(NULL, &model, path_.ToWStringHack()); + bookmark_html_writer::WriteBookmarks(NULL, &model, path_); // Read the bookmarks back in. std::vector<ProfileWriter::BookmarkEntry> parsed_bookmarks; |