| Index: chrome/browser/resources/options/deletable_item_list.js
|
| diff --git a/chrome/browser/resources/options/deletable_item_list.js b/chrome/browser/resources/options/deletable_item_list.js
|
| index 33ca307f894604065c08c3e79b01d6f7ca56ad56..0d52ff07bab0d275472f3c7a551460cf0caee9d6 100644
|
| --- a/chrome/browser/resources/options/deletable_item_list.js
|
| +++ b/chrome/browser/resources/options/deletable_item_list.js
|
| @@ -152,7 +152,8 @@ cr.define('options', function() {
|
|
|
| var target = e.target;
|
| if (target.classList.contains('row-delete-button')) {
|
| - var listItem = this.getListItemAncestor(target);
|
| + var listItem = this.getListItemAncestor(
|
| + /** @type {HTMLElement} */(target));
|
| var idx = this.getIndexOfListItem(listItem);
|
| this.deleteItemAtIndex(idx);
|
| }
|
|
|