| Index: chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js
|
| diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js b/chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js
|
| index 0ed718010adee17244346ca1e0d4d6e50169c73a..6abeecef1d92be65924e7ff5505709aaa2d1c0e2 100644
|
| --- a/chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js
|
| +++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js
|
| @@ -82,14 +82,15 @@ Polymer({
|
|
|
| /** @private */
|
| onOkTap_: function() {
|
| - this.browserProxy_.deleteCertificate(this.model.id).then(
|
| - function() {
|
| - /** @type {!CrDialogElement} */ (this.$.dialog).close();
|
| - }.bind(this),
|
| - /** @param {!CertificatesError} error */
|
| - function(error) {
|
| - /** @type {!CrDialogElement} */ (this.$.dialog).close();
|
| - this.fire('certificates-error', {error: error, anchor: null});
|
| - }.bind(this));
|
| + this.browserProxy_.deleteCertificate(this.model.id)
|
| + .then(
|
| + function() {
|
| + /** @type {!CrDialogElement} */ (this.$.dialog).close();
|
| + }.bind(this),
|
| + /** @param {!CertificatesError} error */
|
| + function(error) {
|
| + /** @type {!CrDialogElement} */ (this.$.dialog).close();
|
| + this.fire('certificates-error', {error: error, anchor: null});
|
| + }.bind(this));
|
| },
|
| });
|
|
|