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

@@ -155,12 +155,11 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(HTMLFormControlsCollection)
// nsIDOMHTMLCollection interface
NS_IMETHODIMP
HTMLFormControlsCollection::GetLength(uint32_t* aLength)
uint32_t
HTMLFormControlsCollection::Length()
{
FlushPendingNotifications();
*aLength = mElements.Length();
return NS_OK;
return mElements.Length();
}
nsISupports*