Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan

This commit is contained in:
Nathan Froyd
2015-03-12 13:20:29 -04:00
parent 0124f82a69
commit 5ea83381f3
22 changed files with 80 additions and 83 deletions

View File

@@ -1910,7 +1910,7 @@ HTMLInputElement::GetList(nsIDOMHTMLElement** aValue)
return NS_OK;
}
CallQueryInterface(element, aValue);
element.forget(aValue);
return NS_OK;
}