mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Still need this cast. Bug 453858
This commit is contained in:
parent
6c8521851e
commit
507b4fb216
@ -2246,7 +2246,8 @@ nsFormControlList::AddElementToTable(nsIFormControl* aChild,
|
|||||||
// Add the new child too
|
// Add the new child too
|
||||||
list->AppendElement(newChild);
|
list->AppendElement(newChild);
|
||||||
|
|
||||||
nsCOMPtr<nsISupports> listSupports = do_QueryInterface(list);
|
nsCOMPtr<nsISupports> listSupports =
|
||||||
|
do_QueryInterface(static_cast<nsIDOMNodeList>(list));
|
||||||
|
|
||||||
// Replace the element with the list.
|
// Replace the element with the list.
|
||||||
NS_ENSURE_TRUE(mNameLookupTable.Put(aName, listSupports),
|
NS_ENSURE_TRUE(mNameLookupTable.Put(aName, listSupports),
|
||||||
|
Loading…
Reference in New Issue
Block a user