Bug 1163148 - Convert HTMLFieldSetElement::mDependentElements and mFirstLegend to strong pointers; r=mccr8

This commit is contained in:
Ehsan Akhgari
2015-05-12 17:12:38 -04:00
parent 8857726bbb
commit ae9902b094
2 changed files with 4 additions and 5 deletions

View File

@@ -130,9 +130,9 @@ private:
nsRefPtr<nsContentList> mElements;
// List of elements which have this fieldset as first fieldset ancestor.
nsTArray<nsGenericHTMLFormElement*> mDependentElements;
nsTArray<nsRefPtr<nsGenericHTMLFormElement>> mDependentElements;
nsIContent* mFirstLegend;
nsCOMPtr<nsIContent> mFirstLegend;
/**
* Number of invalid and candidate for constraint validation