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

@@ -163,19 +163,6 @@ HTMLFormControlsCollection::GetLength(uint32_t* aLength)
return NS_OK;
}
NS_IMETHODIMP
HTMLFormControlsCollection::Item(uint32_t aIndex, nsIDOMNode** aReturn)
{
nsISupports* item = GetElementAt(aIndex);
if (!item) {
*aReturn = nullptr;
return NS_OK;
}
return CallQueryInterface(item, aReturn);
}
nsISupports*
HTMLFormControlsCollection::NamedItemInternal(const nsAString& aName,
bool aFlushContent)