Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan
This commit is contained in:
@@ -1910,7 +1910,7 @@ HTMLInputElement::GetList(nsIDOMHTMLElement** aValue)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
CallQueryInterface(element, aValue);
|
||||
element.forget(aValue);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user