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:
@@ -120,10 +120,10 @@ HTMLFieldSetElement::GetType(nsAString& aType)
|
||||
|
||||
/* static */
|
||||
bool
|
||||
HTMLFieldSetElement::MatchListedElements(nsIContent* aContent, int32_t aNamespaceID,
|
||||
HTMLFieldSetElement::MatchListedElements(Element* aElement, int32_t aNamespaceID,
|
||||
nsIAtom* aAtom, void* aData)
|
||||
{
|
||||
nsCOMPtr<nsIFormControl> formControl = do_QueryInterface(aContent);
|
||||
nsCOMPtr<nsIFormControl> formControl = do_QueryInterface(aElement);
|
||||
return formControl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user