| Index: chrome/browser/resources/settings/search_engines_page/search_engine_entry.js
|
| diff --git a/chrome/browser/resources/settings/search_engines_page/search_engine_entry.js b/chrome/browser/resources/settings/search_engines_page/search_engine_entry.js
|
| index be252d7f5063653c0b1b21fccb022374f912d33c..411cae8530135555a7e35ccbab2080d772c1863c 100644
|
| --- a/chrome/browser/resources/settings/search_engines_page/search_engine_entry.js
|
| +++ b/chrome/browser/resources/settings/search_engines_page/search_engine_entry.js
|
| @@ -98,17 +98,17 @@ Polymer({
|
| this.closePopupMenu_();
|
|
|
| this.showEditSearchEngineDialog_ = true;
|
| - this.async(function() {
|
| + this.async(() => {
|
| var dialog = this.$$('settings-search-engine-dialog');
|
| // Register listener to detect when the dialog is closed. Flip the boolean
|
| // once closed to force a restamp next time it is shown such that the
|
| // previous dialog's contents are cleared.
|
| - dialog.addEventListener('close', function() {
|
| + dialog.addEventListener('close', () => {
|
| this.showEditSearchEngineDialog_ = false;
|
| cr.ui.focusWithoutInk(
|
| assert(this.$$('button[is="paper-icon-button-light"]')));
|
| - }.bind(this));
|
| - }.bind(this));
|
| + });
|
| + });
|
| },
|
|
|
| /** @private */
|
|
|