| Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
|
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
|
| index e8da6159cd3e9a48f63e7fbc7976b8ad5873a8de..41dead3e9361faf9034482f052e29a45cce8d1f3 100644
|
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
|
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
|
| @@ -20,6 +20,8 @@ var ExceptionPairEntryEvent;
|
| Polymer({
|
| is: 'passwords-section',
|
|
|
| + behaviors: [CrScrollableBehavior],
|
| +
|
| properties: {
|
| /** Preferences state. */
|
| prefs: {
|
| @@ -71,6 +73,16 @@ Polymer({
|
| 'passwordList.scroll': 'closeMenu_',
|
| },
|
|
|
| + observers: ['passwordListChanged_(savedPasswords, filter)'],
|
| +
|
| + /**
|
| + * Updates the scrollable contents when the list of passwords has changed.
|
| + * @private
|
| + */
|
| + passwordListChanged_: function() {
|
| + this.updateScrollableContents();
|
| + },
|
| +
|
| /**
|
| * Sets the password in the current password dialog if the loginPair matches.
|
| * @param {!chrome.passwordsPrivate.LoginPair} loginPair
|
|
|