| 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 7eff4c4bd2990363efcc8c52cf3b3d80540a0068..d2fb432f68faab8e74e19e7ca61c7c984c2c9c60 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
|
| @@ -27,12 +27,12 @@ Polymer({
|
|
|
| /** @override */
|
| attached: function() {
|
| - this.$.dialog.open();
|
| + /** @type {!CrDialogElement} */ (this.$.dialog).open();
|
| },
|
|
|
| /** @private */
|
| onCancelTap_: function() {
|
| - this.$.dialog.close();
|
| + /** @type {!CrDialogElement} */ (this.$.dialog).close();
|
| },
|
|
|
| /** @private */
|
| @@ -40,11 +40,11 @@ Polymer({
|
| this.browserProxy_.importPersonalCertificatePasswordSelected(
|
| this.password_).then(
|
| function() {
|
| - this.$.dialog.close();
|
| + /** @type {!CrDialogElement} */ (this.$.dialog).close();
|
| }.bind(this),
|
| /** @param {!CertificatesError} error */
|
| function(error) {
|
| - this.$.dialog.close();
|
| + /** @type {!CrDialogElement} */ (this.$.dialog).close();
|
| this.fire('certificates-error', error);
|
| }.bind(this));
|
| },
|
|
|