| Index: chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.js
|
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.js b/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.js
|
| index c57d2f0b77c67d8d32faa96d7f652f37070be7ff..5471b5e382146f0e330e7e5135a22d8e7e086f65 100644
|
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.js
|
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.js
|
| @@ -80,7 +80,7 @@ Polymer({
|
| this.expirationYear = this.creditCard.expirationYear;
|
| this.expirationMonth = this.creditCard.expirationMonth;
|
|
|
| - this.$.dialog.open();
|
| + this.$.dialog.showModal();
|
| },
|
|
|
| /** Closes the dialog. */
|
| @@ -93,7 +93,7 @@ Polymer({
|
| * @private
|
| */
|
| onCancelButtonTap_: function() {
|
| - this.close();
|
| + this.$.dialog.cancel();
|
| },
|
|
|
| /**
|
|
|