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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc

Issue 21947003: [Autofill] Move FieldTypeGroup out of the AutofillType class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
index 32d1383c2779b1a94df1cd7db5ac565f85d1f0ec..66b6f4732b36d4a41de6b0a6691abbdd3767977a 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
@@ -145,7 +145,7 @@ bool DetailInputMatchesField(DialogSection section,
}
bool IsCreditCardType(AutofillFieldType type) {
- return AutofillType(type).group() == AutofillType::CREDIT_CARD;
+ return AutofillType(type).group() == CREDIT_CARD;
}
// Returns true if |input| should be used to fill a site-requested |field| which
« no previous file with comments | « chrome/browser/ui/android/autofill/autofill_dialog_view_android.cc ('k') | chrome/browser/ui/autofill/data_model_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698