Bug 1415677 part 1. Remove nsIDOMHTMLCollection::NamedItem. r=qdot
MozReview-Commit-ID: EppP6KSYSn6
This commit is contained in:
@@ -306,21 +306,6 @@ TableRowsCollection::GetSupportedNames(nsTArray<nsString>& aNames)
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
TableRowsCollection::NamedItem(const nsAString& aName,
|
||||
nsIDOMNode** aReturn)
|
||||
{
|
||||
bool found;
|
||||
nsISupports* node = GetFirstNamedElement(aName, found);
|
||||
if (!node) {
|
||||
*aReturn = nullptr;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
return CallQueryInterface(node, aReturn);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
TableRowsCollection::ParentDestroyed()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user