| Index: chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js
|
| diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js b/chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js
|
| index cdc846e93b4a6db4340de8aad8903deddaacf9fd..20ebcb9f4db18fdb2ee39a65deabe00ac6a0fa2c 100644
|
| --- a/chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js
|
| +++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js
|
| @@ -39,13 +39,12 @@ Polymer({
|
| onOkTap_: function() {
|
| this.browserProxy_.importPersonalCertificatePasswordSelected(this.password_)
|
| .then(
|
| - function() {
|
| + () => {
|
| /** @type {!CrDialogElement} */ (this.$.dialog).close();
|
| - }.bind(this),
|
| - /** @param {!CertificatesError} error */
|
| - function(error) {
|
| + },
|
| + error => {
|
| /** @type {!CrDialogElement} */ (this.$.dialog).close();
|
| this.fire('certificates-error', {error: error, anchor: null});
|
| - }.bind(this));
|
| + });
|
| },
|
| });
|
|
|