Index: chrome/browser/resources/settings/people_page/easy_unlock_turn_off_dialog.js |
diff --git a/chrome/browser/resources/settings/people_page/easy_unlock_turn_off_dialog.js b/chrome/browser/resources/settings/people_page/easy_unlock_turn_off_dialog.js |
index 76d2d6968af8ea4d5b6accb53ab1c91c9879849a..4de349672d7340c64920234006a9198d38e693f2 100644 |
--- a/chrome/browser/resources/settings/people_page/easy_unlock_turn_off_dialog.js |
+++ b/chrome/browser/resources/settings/people_page/easy_unlock_turn_off_dialog.js |
@@ -47,16 +47,16 @@ Polymer({ |
'easy-unlock-enabled-status', |
this.handleEasyUnlockEnabledStatusChanged_.bind(this)); |
- this.addWebUIListener('easy-unlock-turn-off-flow-status', function(status) { |
+ this.addWebUIListener('easy-unlock-turn-off-flow-status', status => { |
this.status_ = status; |
- }.bind(this)); |
+ }); |
// Since the dialog text depends on the status, defer opening until we have |
// retrieved the turn off status to prevent UI flicker. |
- this.getTurnOffStatus_().then(function(status) { |
+ this.getTurnOffStatus_().then(status => { |
this.status_ = status; |
this.$.dialog.showModal(); |
- }.bind(this)); |
+ }); |
}, |
/** |