mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 05:47:04 +00:00
Still need this cast. Bug 453858
This commit is contained in:
parent
2ab30a4d2f
commit
18f14fbd2a
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user