| Index: components/autofill/core/browser/credit_card.cc
|
| diff --git a/components/autofill/core/browser/credit_card.cc b/components/autofill/core/browser/credit_card.cc
|
| index 287814240247599ac822a4878e1650545c38b88c..fde4c69fad9dfbd568c71f3923746b7bbdc82340 100644
|
| --- a/components/autofill/core/browser/credit_card.cc
|
| +++ b/components/autofill/core/browser/credit_card.cc
|
| @@ -161,6 +161,9 @@ base::string16 CreditCard::TypeForDisplay(const std::string& type) {
|
| return base::string16();
|
| }
|
|
|
| +// This method is not compiled on iOS because the resources are not used and
|
| +// should not be shipped.
|
| +#if !defined(OS_IOS)
|
| // static
|
| int CreditCard::IconResourceId(const std::string& type) {
|
| if (type == kAmericanExpressCard)
|
| @@ -183,6 +186,7 @@ int CreditCard::IconResourceId(const std::string& type) {
|
| DCHECK_EQ(kGenericCard, type);
|
| return IDR_AUTOFILL_CC_GENERIC;
|
| }
|
| +#endif // #if !defined(OS_IOS)
|
|
|
| // static
|
| const char* CreditCard::GetCreditCardType(const base::string16& number) {
|
|
|