Still need this cast. Bug 453858

This commit is contained in:
Boris Zbarsky 2008-09-11 02:04:09 -04:00
parent 6c8521851e
commit 507b4fb216

View File

@ -2246,7 +2246,8 @@ nsFormControlList::AddElementToTable(nsIFormControl* aChild,
// Add the new child too
list->AppendElement(newChild);
nsCOMPtr<nsISupports> listSupports = do_QueryInterface(list);
nsCOMPtr<nsISupports> listSupports =
do_QueryInterface(static_cast<nsIDOMNodeList>(list));
// Replace the element with the list.
NS_ENSURE_TRUE(mNameLookupTable.Put(aName, listSupports),