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

Unified Diff: components/autofill/content/browser/wallet/full_wallet.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/full_wallet.cc
diff --git a/components/autofill/content/browser/wallet/full_wallet.cc b/components/autofill/content/browser/wallet/full_wallet.cc
index 8b480856b973e1d26e7d42bbd827236cec56f31d..c53b87d906538eb312c014700d56d169e0514691 100644
--- a/components/autofill/content/browser/wallet/full_wallet.cc
+++ b/components/autofill/content/browser/wallet/full_wallet.cc
@@ -128,7 +128,7 @@ scoped_ptr<FullWallet>
}
base::string16 FullWallet::GetInfo(const AutofillType& type) {
- switch (type.native_type()) {
+ switch (type.GetEquivalentNativeType()) {
case CREDIT_CARD_NUMBER:
return UTF8ToUTF16(GetPan());

Powered by Google App Engine
This is Rietveld 408576698