Bug 1415677 part 3. Remove nsIDOMHTMLCollection::GetLength. r=qdot

MozReview-Commit-ID: H9rdYf47WV
This commit is contained in:
Boris Zbarsky
2017-11-13 10:39:06 -05:00
parent ff3eab73d6
commit c37cf6640d
10 changed files with 32 additions and 37 deletions

View File

@@ -110,12 +110,10 @@ HTMLOptionsCollection::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenPr
return HTMLOptionsCollectionBinding::Wrap(aCx, this, aGivenProto);
}
NS_IMETHODIMP
HTMLOptionsCollection::GetLength(uint32_t* aLength)
uint32_t
HTMLOptionsCollection::Length()
{
*aLength = mElements.Length();
return NS_OK;
return mElements.Length();
}
void