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

Unified Diff: chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc

Issue 7633055: base: Fix the TODO in string_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_mini_installer.cc Created 9 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/shell_integration_win.cc ('k') | chrome/browser/ui/webui/flash_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc
diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc b/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc
index 1787898272e8435d1d644db016bc7fdf04a74bc6..aceebc87f181c9991baa51930bdb59037f8ed0d0 100644
--- a/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc
+++ b/chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc
@@ -6,7 +6,7 @@
#include "base/pickle.h"
#include "base/string16.h"
-#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/bookmarks/bookmark_node_data.h"
@@ -355,9 +355,9 @@ void WriteBookmarksToSelection(const std::vector<const BookmarkNode*>& nodes,
}
case ui::TEXT_HTML: {
std::string utf8_title = UTF16ToUTF8(nodes[0]->GetTitle());
- std::string utf8_html = StringPrintf("<a href=\"%s\">%s</a>",
- nodes[0]->url().spec().c_str(),
- utf8_title.c_str());
+ std::string utf8_html = base::StringPrintf("<a href=\"%s\">%s</a>",
+ nodes[0]->url().spec().c_str(),
+ utf8_title.c_str());
gtk_selection_data_set(selection_data,
GetAtomForTarget(ui::TEXT_HTML),
kBitsInAByte,
« no previous file with comments | « chrome/browser/shell_integration_win.cc ('k') | chrome/browser/ui/webui/flash_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698