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

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

Issue 22040002: [Autofill] Add a separate enumeration for HTML field type hints. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add docs Created 7 years, 5 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/form_group.cc
diff --git a/components/autofill/core/browser/form_group.cc b/components/autofill/core/browser/form_group.cc
index a803871893b8976159667ee33a2d947e9eb6dc69..c73cc556df090b8f78df8c096a1ea5b6431afb4c 100644
--- a/components/autofill/core/browser/form_group.cc
+++ b/components/autofill/core/browser/form_group.cc
@@ -38,13 +38,13 @@ void FormGroup::GetNonEmptyTypes(const std::string& app_locale,
base::string16 FormGroup::GetInfo(const AutofillType& type,
const std::string& app_locale) const {
- return GetRawInfo(type.native_type());
+ return GetRawInfo(type.GetEquivalentNativeType());
}
bool FormGroup::SetInfo(const AutofillType& type,
const base::string16& value,
const std::string& app_locale) {
- SetRawInfo(type.native_type(), value);
+ SetRawInfo(type.GetEquivalentNativeType(), value);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698