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

Unified Diff: components/autofill/core/browser/contact_info.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: components/autofill/core/browser/contact_info.cc
diff --git a/components/autofill/core/browser/contact_info.cc b/components/autofill/core/browser/contact_info.cc
index aeed7a319a9418f9ed260c2ec8a1942416e454e4..11d6b2bde83d03580a544defa2eb573013f0d620 100644
--- a/components/autofill/core/browser/contact_info.cc
+++ b/components/autofill/core/browser/contact_info.cc
@@ -74,7 +74,7 @@ base::string16 NameInfo::GetRawInfo(AutofillFieldType type) const {
void NameInfo::SetRawInfo(AutofillFieldType type, const base::string16& value) {
type = AutofillType::GetEquivalentFieldType(type);
- DCHECK_EQ(AutofillType::NAME, AutofillType(type).group());
+ DCHECK_EQ(NAME, AutofillType(type).group());
if (type == NAME_FIRST)
first_ = value;
else if (type == NAME_MIDDLE || type == NAME_MIDDLE_INITIAL)
« no previous file with comments | « components/autofill/core/browser/autofill_type_unittest.cc ('k') | components/autofill/core/browser/credit_card.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698