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

Unified Diff: chrome/test/live_sync/bookmark_model_verifier.cc

Issue 3142030: Remove wstrings from bookmarks, part 6. (Closed)
Patch Set: fix views and tests 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/browser/views/bookmark_bubble_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/live_sync/bookmark_model_verifier.cc
diff --git a/chrome/test/live_sync/bookmark_model_verifier.cc b/chrome/test/live_sync/bookmark_model_verifier.cc
index fa32911c2705f30913e282ff89343c475ee4eb99..c356be3814d9a057da2f23eaaad213922ad32be8 100644
--- a/chrome/test/live_sync/bookmark_model_verifier.cc
+++ b/chrome/test/live_sync/bookmark_model_verifier.cc
@@ -203,8 +203,8 @@ void BookmarkModelVerifier::SetTitle(BookmarkModel* model,
const wstring& title) {
const BookmarkNode* v_node = NULL;
FindNodeInVerifier(model, node, &v_node);
- model->SetTitle(node, title);
- model_->SetTitle(v_node, title);
+ model->SetTitle(node, WideToUTF16Hack(title));
+ model_->SetTitle(v_node, WideToUTF16Hack(title));
}
void BookmarkModelVerifier::Move(BookmarkModel* model, const BookmarkNode* node,
« no previous file with comments | « chrome/browser/views/bookmark_bubble_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698