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

Unified Diff: components/autofill/content/browser/wallet/wallet_items.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/content/browser/wallet/wallet_items.cc
diff --git a/components/autofill/content/browser/wallet/wallet_items.cc b/components/autofill/content/browser/wallet/wallet_items.cc
index 96143fb5017c7dac1e480e8f617d382c20d683e5..db387d59982f31a003b7db6fbf5d1d8f5f022133 100644
--- a/components/autofill/content/browser/wallet/wallet_items.cc
+++ b/components/autofill/content/browser/wallet/wallet_items.cc
@@ -314,7 +314,7 @@ base::string16 WalletItems::MaskedInstrument::GetInfo(
if (type.group() != CREDIT_CARD)
return address().GetInfo(type, app_locale);
- switch (type.native_type()) {
+ switch (type.GetEquivalentNativeType()) {
case CREDIT_CARD_NAME:
return address().recipient_name();

Powered by Google App Engine
This is Rietveld 408576698