summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_credit_card_model_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autofill/autofill_credit_card_model_mac.mm')
-rw-r--r--chrome/browser/autofill/autofill_credit_card_model_mac.mm3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/autofill/autofill_credit_card_model_mac.mm b/chrome/browser/autofill/autofill_credit_card_model_mac.mm
index 5c49ab2..1eec96f 100644
--- a/chrome/browser/autofill/autofill_credit_card_model_mac.mm
+++ b/chrome/browser/autofill/autofill_credit_card_model_mac.mm
@@ -15,7 +15,6 @@
@synthesize creditCardNumber = creditCardNumber_;
@synthesize expirationMonth = expirationMonth_;
@synthesize expirationYear = expirationYear_;
-@synthesize billingAddressID = billingAddressID_;
- (id)initWithCreditCard:(const CreditCard&)creditCard {
if ((self = [super init])) {
@@ -27,7 +26,6 @@
creditCard.GetFieldText(AutoFillType(CREDIT_CARD_EXP_MONTH)))];
[self setExpirationYear:SysUTF16ToNSString(
creditCard.GetFieldText(AutoFillType(CREDIT_CARD_EXP_4_DIGIT_YEAR)))];
- [self setBillingAddressID:creditCard.billing_address_id()];
}
return self;
}
@@ -50,7 +48,6 @@
base::SysNSStringToUTF16([self expirationMonth]));
creditCard->SetInfo(AutoFillType(CREDIT_CARD_EXP_4_DIGIT_YEAR),
base::SysNSStringToUTF16([self expirationYear]));
- creditCard->set_billing_address_id([self billingAddressID]);
}
@end