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

Unified Diff: chrome/test/model_test_utils.cc

Issue 3152034: Remove wstrings in bookmarks, part 5. (Closed)
Patch Set: yet moar Created 10 years, 4 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/test/live_sync/two_client_live_bookmarks_sync_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/model_test_utils.cc
diff --git a/chrome/test/model_test_utils.cc b/chrome/test/model_test_utils.cc
index d55a571feee1e1c65c7a0a63ada7bb7d82544589..85226223e8f9d64aad88d3edd046d6bfffeb9538 100644
--- a/chrome/test/model_test_utils.cc
+++ b/chrome/test/model_test_utils.cc
@@ -56,7 +56,7 @@ std::wstring::size_type AddNodesFromString(BookmarkModel& model,
std::string url_string("http://");
url_string += std::string(node_name.begin(), node_name.end());
url_string += ".com";
- model.AddURL(node, index, node_name, GURL(url_string));
+ model.AddURL(node, index, WideToUTF16Hack(node_name), GURL(url_string));
++end_pos;
}
++index;
« no previous file with comments | « chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698