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

Unified Diff: components/autofill/core/browser/autofill_profile.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/autofill_profile.cc
diff --git a/components/autofill/core/browser/autofill_profile.cc b/components/autofill/core/browser/autofill_profile.cc
index 2f7e43a1d4e4cc112afb9d775351f91e1c599fdf..29f857724c468db40a4bb0430a07184024ab9f4e 100644
--- a/components/autofill/core/browser/autofill_profile.cc
+++ b/components/autofill/core/browser/autofill_profile.cc
@@ -671,7 +671,7 @@ base::string16 AutofillProfile::ConstructInferredLabel(
const char16 kNewline[] = { '\n', 0 };
const base::string16 newline_separator =
l10n_util::GetStringUTF16(IDS_AUTOFILL_ADDRESS_LINE_SEPARATOR);
- ReplaceChars(label, kNewline, newline_separator, &label);
+ base::ReplaceChars(label, kNewline, newline_separator, &label);
return label;
}

Powered by Google App Engine
This is Rietveld 408576698