Bug 1415677 part 2. Remove nsIDOMHTMLCollection::Item. r=qdot
MozReview-Commit-ID: AQUjBQhXLHE
This commit is contained in:
@@ -201,19 +201,6 @@ HTMLOptionsCollection::SetSelectedIndex(int32_t aSelectedIndex,
|
||||
mSelect->SetSelectedIndex(aSelectedIndex, aError);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
HTMLOptionsCollection::Item(uint32_t aIndex, nsIDOMNode** aReturn)
|
||||
{
|
||||
nsISupports* item = GetElementAt(aIndex);
|
||||
if (!item) {
|
||||
*aReturn = nullptr;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
return CallQueryInterface(item, aReturn);
|
||||
}
|
||||
|
||||
Element*
|
||||
HTMLOptionsCollection::GetElementAt(uint32_t aIndex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user