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

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: Fix browser test 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 eaadcc464ae158ac0b1a65ed251828e1c5ab9b56..28c47b31cc9e3326da4d8cc3404a0ac6c1989430 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.server_type()) {
+ switch (type.GetStorableType()) {
case CREDIT_CARD_NUMBER:
return UTF8ToUTF16(GetPan());

Powered by Google App Engine
This is Rietveld 408576698