| Index: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js
|
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js
|
| index 9cc898cb4d82712e6ccb401db1473a9841aaa64b..9fa0edf19b4048d5321e48609d0ce650fccb0ccb 100644
|
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js
|
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js
|
| @@ -206,5 +206,15 @@
|
| this.$.addressSharedMenu.closeMenu();
|
| this.$.creditCardSharedMenu.closeMenu();
|
| },
|
| +
|
| + /**
|
| + * Returns true if the list exists and has items.
|
| + * @param {Array<Object>} list
|
| + * @return {boolean}
|
| + * @private
|
| + */
|
| + hasSome_: function(list) {
|
| + return !!(list && list.length);
|
| + },
|
| });
|
| })();
|
|
|