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

Unified Diff: components/autofill/content/browser/wallet/wallet_address.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, 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/content/browser/wallet/wallet_address.cc
diff --git a/components/autofill/content/browser/wallet/wallet_address.cc b/components/autofill/content/browser/wallet/wallet_address.cc
index b107b9963a1ba7df3f43a3ae2391067409149ff4..73e301cab14b64850d2ab0453b68c40c672c8fa4 100644
--- a/components/autofill/content/browser/wallet/wallet_address.cc
+++ b/components/autofill/content/browser/wallet/wallet_address.cc
@@ -264,7 +264,7 @@ string16 Address::DisplayNameDetail() const {
string16 Address::GetInfo(const AutofillType& type,
const std::string& app_locale) const {
- switch (AutofillType::GetEquivalentFieldType(type.native_type())) {
+ switch (type.GetEquivalentNativeType()) {
case NAME_FULL:
return recipient_name();

Powered by Google App Engine
This is Rietveld 408576698