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

Unified Diff: chrome/browser/importer/importer_unittest_utils.cc

Issue 269613002: Cleanup: Get rid of base::WideToUTF16Hack. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase, fix win Created 6 years, 7 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/importer/importer_unittest_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer_unittest_utils.cc
===================================================================
--- chrome/browser/importer/importer_unittest_utils.cc (revision 268280)
+++ chrome/browser/importer/importer_unittest_utils.cc (working copy)
@@ -10,12 +10,12 @@
void TestEqualBookmarkEntry(const ImportedBookmarkEntry& entry,
const BookmarkInfo& expected) {
- ASSERT_EQ(base::WideToUTF16Hack(expected.title), entry.title);
+ ASSERT_EQ(base::WideToUTF16(expected.title), entry.title);
ASSERT_EQ(expected.in_toolbar, entry.in_toolbar) << entry.title;
ASSERT_EQ(expected.path_size, entry.path.size()) << entry.title;
ASSERT_EQ(expected.url, entry.url.spec()) << entry.title;
for (size_t i = 0; i < expected.path_size; ++i) {
- ASSERT_EQ(base::WideToUTF16Hack(expected.path[i]),
+ ASSERT_EQ(base::ASCIIToUTF16(expected.path[i]),
entry.path[i]) << entry.title;
}
}
« no previous file with comments | « chrome/browser/importer/importer_unittest_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698