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

@@ -1041,9 +1041,7 @@ HTMLFormElement::WalkFormElements(HTMLFormSubmission* aFormSubmission)
NS_IMETHODIMP_(uint32_t)
HTMLFormElement::GetElementCount() const
{
uint32_t count = 0;
mControls->GetLength(&count);
return count;
return mControls->Length();
}
Element*