Bug 1385324 - Part 2: Rewrite HTMLFormControlsCollection::GetSortedControls() to use RefPtr instead of raw pointers; r=qdot
This commit is contained in:
@@ -261,7 +261,7 @@ HTMLFormControlsCollection::RemoveElementFromTable(
|
||||
|
||||
nsresult
|
||||
HTMLFormControlsCollection::GetSortedControls(
|
||||
nsTArray<nsGenericHTMLFormElement*>& aControls) const
|
||||
nsTArray<RefPtr<nsGenericHTMLFormElement>>& aControls) const
|
||||
{
|
||||
#ifdef DEBUG
|
||||
HTMLFormElement::AssertDocumentOrder(mElements, mForm);
|
||||
|
||||
Reference in New Issue
Block a user