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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.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/views/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index b580df5ed4480d7042dc38c41b7ff2c8f0a842f4..96f9f1350e44bb614b686984bc5c5026bcd3add5 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -1261,11 +1261,10 @@ void AutofillDialogViews::FillSection(DialogSection section,
// CC comboboxes (even if they already have something in them). If the
// Autofill data comes from an AutofillProfile, leave the comboboxes alone.
if ((section == SECTION_CC || section == SECTION_CC_BILLING) &&
- AutofillType(originating_input.type).group() ==
- AutofillType::CREDIT_CARD) {
+ AutofillType(originating_input.type).group() == CREDIT_CARD) {
for (ComboboxMap::const_iterator it = group->comboboxes.begin();
it != group->comboboxes.end(); ++it) {
- if (AutofillType(it->first->type).group() == AutofillType::CREDIT_CARD)
+ if (AutofillType(it->first->type).group() == CREDIT_CARD)
it->second->SetSelectedIndex(it->second->model()->GetDefaultIndex());
}
}

Powered by Google App Engine
This is Rietveld 408576698