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 230fa2d552ef22aea9d46f3ef58824649c4e593a..fe5be029e66e86603bf7fd010986d95b6135aa97 100644 |
--- a/chrome/browser/resources/settings/people_page/lock_screen.js |
+++ b/chrome/browser/resources/settings/people_page/lock_screen.js |
@@ -56,13 +56,13 @@ Polymer({ |
}, |
/** |
- * True if pin unlock settings should be displayed on this machine. |
+ * True if quick unlock settings should be displayed on this machine. |
* @private |
*/ |
- pinUnlockEnabled_: { |
+ quickUnlockEnabled_: { |
type: Boolean, |
value: function() { |
- return loadTimeData.getBoolean('pinUnlockEnabled'); |
+ return loadTimeData.getBoolean('quickUnlockEnabled'); |
}, |
readOnly: true, |
}, |
@@ -231,9 +231,12 @@ Polymer({ |
return selectedUnlockType === LockScreenUnlockType.PIN_PASSWORD; |
}, |
- /** @private */ |
- getSetupPinText_: function() { |
- if (this.hasPin) |
+ /** |
+ * @param {boolean} hasPin |
+ * @private |
+ */ |
+ getSetupPinText_: function(hasPin) { |
+ if (hasPin) |
return this.i18n('lockScreenChangePinButton'); |
return this.i18n('lockScreenSetupPinButton'); |
}, |