| 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 42344e69b78952d335ef3a24fd5489a97ae1f5c3..9e7018aef08033c3be8016985e868af16a4b9e0d 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
|
| @@ -113,18 +113,14 @@ Polymer({
|
| },
|
|
|
| /**
|
| - * @param {!Array<!chrome.passwordsPrivate.ExceptionPair>} passwordExceptions
|
| * @param {string} filter
|
| - * @return {!Array<!chrome.passwordsPrivate.ExceptionPair>}
|
| + * @return {function(!chrome.passwordsPrivate.ExceptionPair): boolean}
|
| * @private
|
| */
|
| - getFilteredExceptions_: function(passwordExceptions, filter) {
|
| - if (!filter)
|
| - return passwordExceptions;
|
| -
|
| - return passwordExceptions.filter(function(exception) {
|
| + passwordExceptionFilter_: function(filter) {
|
| + return function(exception) {
|
| return exception.exceptionUrl.includes(filter);
|
| - });
|
| + };
|
| },
|
|
|
| /**
|
|
|