Bug 1415677 part 2. Remove nsIDOMHTMLCollection::Item. r=qdot

MozReview-Commit-ID: AQUjBQhXLHE
This commit is contained in:
Boris Zbarsky
2017-11-13 10:39:02 -05:00
parent e76fe87c40
commit ff3eab73d6
8 changed files with 4 additions and 55 deletions

View File

@@ -240,19 +240,6 @@ TableRowsCollection::GetElementAt(uint32_t aIndex)
return nullptr;
}
NS_IMETHODIMP
TableRowsCollection::Item(uint32_t aIndex, nsIDOMNode** aReturn)
{
nsISupports* node = GetElementAt(aIndex);
if (!node) {
*aReturn = nullptr;
return NS_OK;
}
return CallQueryInterface(node, aReturn);
}
Element*
TableRowsCollection::GetFirstNamedElement(const nsAString& aName, bool& aFound)
{