Bug 1415677 part 3. Remove nsIDOMHTMLCollection::GetLength. r=qdot
MozReview-Commit-ID: H9rdYf47WV
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user