summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk/bookmark_bar_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/gtk/bookmark_bar_gtk.cc')
-rw-r--r--chrome/browser/ui/gtk/bookmark_bar_gtk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/gtk/bookmark_bar_gtk.cc b/chrome/browser/ui/gtk/bookmark_bar_gtk.cc
index a54172c..97faad8 100644
--- a/chrome/browser/ui/gtk/bookmark_bar_gtk.cc
+++ b/chrome/browser/ui/gtk/bookmark_bar_gtk.cc
@@ -1279,8 +1279,8 @@ void BookmarkBarGtk::OnDragReceived(GtkWidget* widget,
// so that it doesn't look like we can drag onto the bookmark bar.
if (!url.is_valid())
break;
- std::string title = bookmark_utils::GetNameForURL(url);
- model_->AddURL(dest_node, index, UTF8ToUTF16(title), url);
+ string16 title = bookmark_utils::GetNameForURL(url);
+ model_->AddURL(dest_node, index, title, url);
dnd_success = TRUE;
break;
}