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

Unified Diff: components/autofill/core/browser/validation.cc

Issue 183853011: Move TrimWhitespace to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
Index: components/autofill/core/browser/validation.cc
diff --git a/components/autofill/core/browser/validation.cc b/components/autofill/core/browser/validation.cc
index 177785d4c6faa06d097ae6555160dfb73dec1aeb..e1edf73d6136b8c66f215de0dd6d2d06d1ec6e3c 100644
--- a/components/autofill/core/browser/validation.cc
+++ b/components/autofill/core/browser/validation.cc
@@ -28,8 +28,8 @@ bool IsValidCreditCardExpirationDate(const base::string16& year,
const base::string16& month,
const base::Time& now) {
base::string16 year_cleaned, month_cleaned;
- TrimWhitespace(year, TRIM_ALL, &year_cleaned);
- TrimWhitespace(month, TRIM_ALL, &month_cleaned);
+ base::TrimWhitespace(year, base::TRIM_ALL, &year_cleaned);
+ base::TrimWhitespace(month, base::TRIM_ALL, &month_cleaned);
if (year_cleaned.length() != 4)
return false;
« no previous file with comments | « components/autofill/core/browser/personal_data_manager.cc ('k') | components/plugins/renderer/plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698