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

Unified Diff: chrome/browser/bookmarks/bookmark_model.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/bookmarks/bookmark_model.cc
diff --git a/chrome/browser/bookmarks/bookmark_model.cc b/chrome/browser/bookmarks/bookmark_model.cc
index b44ee90cb96f7ac1023b9c5d013faaf928693322..433309e8e8002ba55a37f1fa58d2e8640ec5cdb2 100644
--- a/chrome/browser/bookmarks/bookmark_model.cc
+++ b/chrome/browser/bookmarks/bookmark_model.cc
@@ -74,7 +74,7 @@ void BookmarkNode::SetTitle(const string16& title) {
// Replace newlines and other problematic whitespace characters in
// folder/bookmark names with spaces.
string16 trimmed_title;
- ReplaceChars(title, kInvalidChars, ASCIIToUTF16(" "), &trimmed_title);
+ base::ReplaceChars(title, kInvalidChars, ASCIIToUTF16(" "), &trimmed_title);
ui::TreeNode<BookmarkNode>::SetTitle(trimmed_title);
}

Powered by Google App Engine
This is Rietveld 408576698