Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2654)

Unified Diff: chrome/browser/resources/settings/people_page/lock_screen.js

Issue 2984843003: MD Settings: Convert all usages of .bind(this) to use ES6 arrow function. (Closed)
Patch Set: Resolve conflicts. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/people_page/lock_screen.js
diff --git a/chrome/browser/resources/settings/people_page/lock_screen.js b/chrome/browser/resources/settings/people_page/lock_screen.js
index a6107cb0a5b89b31a106ebd9251b6952f625595d..dfca9bf5d31ec8c4064389ad5253308b165343ba 100644
--- a/chrome/browser/resources/settings/people_page/lock_screen.js
+++ b/chrome/browser/resources/settings/people_page/lock_screen.js
@@ -199,9 +199,9 @@ Polymer({
if (newRoute == settings.routes.LOCK_SCREEN &&
this.fingerprintUnlockEnabled_ && this.fingerprintBrowserProxy_) {
this.fingerprintBrowserProxy_.getNumFingerprints().then(
- function(numFingerprints) {
+ numFingerprints => {
this.numFingerprints_ = numFingerprints;
- }.bind(this));
+ });
}
if (this.shouldAskForPassword_(newRoute)) {

Powered by Google App Engine
This is Rietveld 408576698