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/gtk/bookmark_bar_gtk.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
Index: chrome/browser/gtk/bookmark_bar_gtk.cc
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.cc b/chrome/browser/gtk/bookmark_bar_gtk.cc
index 5ff281ab3f4b165d09c3bc28fd75e2629b9f2a5f..7d5f66765e85764995f2b2c990a163a4855ff578 100644
--- a/chrome/browser/gtk/bookmark_bar_gtk.cc
+++ b/chrome/browser/gtk/bookmark_bar_gtk.cc
@@ -1231,7 +1231,7 @@ void BookmarkBarGtk::OnDragReceived(GtkWidget* widget,
if (!url.is_valid())
break;
std::string title = bookmark_utils::GetNameForURL(url);
- model_->AddURL(dest_node, index, UTF8ToWide(title), url);
+ model_->AddURL(dest_node, index, UTF8ToUTF16(title), url);
dnd_success = TRUE;
break;
}
« no previous file with comments | « chrome/browser/cocoa/bookmark_model_observer_for_cocoa_unittest.mm ('k') | chrome/browser/gtk/bookmark_bar_gtk_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698