| Index: chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc
|
| diff --git a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc
|
| index 917c31686d5b422511df638cc3d1ada310d8a759..4733f26105a6cd5a2dc7c48ee4203d64a5e249e0 100644
|
| --- a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc
|
| +++ b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc
|
| @@ -89,7 +89,7 @@ std::vector<base::string16> GetExpirationYearItems() {
|
| }
|
|
|
| bool IsCardExpired(const base::string16& month,
|
| - base::string16& year,
|
| + const base::string16& year,
|
| const std::string& app_locale) {
|
| autofill::CreditCard card;
|
| card.SetExpirationMonthFromString(month, app_locale);
|
| @@ -502,6 +502,7 @@ void CreditCardEditorViewController::ButtonPressed(views::Button* sender,
|
|
|
| void CreditCardEditorViewController::AddAndSelectNewBillingAddress(
|
| const autofill::AutofillProfile& profile) {
|
| + state()->AddAutofillShippingProfile(false, profile);
|
| views::Combobox* address_combobox = static_cast<views::Combobox*>(
|
| dialog()->GetViewByID(GetInputFieldViewId(kBillingAddressType)));
|
| autofill::AddressComboboxModel* model =
|
|
|