Bug 1338725 part 1. Change the matcher functions used for nsContentList to take an Element argument, not nsIContent. r=baku

This commit is contained in:
Boris Zbarsky
2017-02-13 16:06:45 -05:00
parent c03ed5beaf
commit 0460b51e8f
15 changed files with 61 additions and 52 deletions

View File

@@ -125,8 +125,8 @@ private:
void NotifyElementsForFirstLegendChange(bool aNotify);
// This function is used to generate the nsContentList (listed form elements).
static bool MatchListedElements(nsIContent* aContent, int32_t aNamespaceID,
nsIAtom* aAtom, void* aData);
static bool MatchListedElements(Element* aElement, int32_t aNamespaceID,
nsIAtom* aAtom, void* aData);
// listed form controls elements.
RefPtr<nsContentList> mElements;