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

Unified Diff: components/autofill/core/browser/phone_number.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: components/autofill/core/browser/phone_number.cc
diff --git a/components/autofill/core/browser/phone_number.cc b/components/autofill/core/browser/phone_number.cc
index 82889b784f2df96fba476d2c19c543e8ebb2d42b..28c898138646464ccf8a1ab93d44231dc1452b84 100644
--- a/components/autofill/core/browser/phone_number.cc
+++ b/components/autofill/core/browser/phone_number.cc
@@ -20,7 +20,7 @@ namespace {
const char16 kPhoneNumberSeparators[] = { ' ', '.', '(', ')', '-', 0 };
void StripPunctuation(base::string16* number) {
- RemoveChars(*number, kPhoneNumberSeparators, number);
+ base::RemoveChars(*number, kPhoneNumberSeparators, number);
}
// Returns the region code for this phone number, which is an ISO 3166 2-letter

Powered by Google App Engine
This is Rietveld 408576698