Index: chrome/browser/resources/settings/site_settings/site_list.js |
diff --git a/chrome/browser/resources/settings/site_settings/site_list.js b/chrome/browser/resources/settings/site_settings/site_list.js |
index f53c61933323e5f6730b985ce0c2f85006e83c92..be2e89f31f93751e6e035815b2481b98cbf42842 100644 |
--- a/chrome/browser/resources/settings/site_settings/site_list.js |
+++ b/chrome/browser/resources/settings/site_settings/site_list.js |
@@ -215,10 +215,10 @@ Polymer({ |
dialog.open(this.categorySubtype); |
- dialog.addEventListener('close', function() { |
+ dialog.addEventListener('close', () => { |
cr.ui.focusWithoutInk(assert(this.$.addSite)); |
dialog.remove(); |
- }.bind(this)); |
+ }); |
}, |
/** |
@@ -226,11 +226,10 @@ Polymer({ |
* @private |
*/ |
populateList_: function() { |
- this.browserProxy_.getExceptionList(this.category) |
- .then(function(exceptionList) { |
- this.processExceptions_([exceptionList]); |
- this.closeActionMenu_(); |
- }.bind(this)); |
+ this.browserProxy_.getExceptionList(this.category).then(exceptionList => { |
+ this.processExceptions_([exceptionList]); |
+ this.closeActionMenu_(); |
+ }); |
}, |
/** |