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

Unified Diff: chrome/browser/autocomplete/autocomplete_match.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/autocomplete/autocomplete_match.cc
diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc
index 3346d35699647ba67c61b6af42393c1ab50f5d70..6d5544d068af64bd97afb810f112fdf7f56a3431 100644
--- a/chrome/browser/autocomplete/autocomplete_match.cc
+++ b/chrome/browser/autocomplete/autocomplete_match.cc
@@ -325,7 +325,7 @@ string16 AutocompleteMatch::SanitizeString(const string16& text) {
// omnibox_custom_bindings.js.
string16 result;
TrimWhitespace(text, TRIM_LEADING, &result);
- RemoveChars(result, kInvalidChars, &result);
+ base::RemoveChars(result, kInvalidChars, &result);
return result;
}

Powered by Google App Engine
This is Rietveld 408576698