Bug 843895 (Followup) - Use a dummy variable in FrozenImage::GetAnimated. r=me

This commit is contained in:
Seth Fowler 2013-03-12 13:42:09 -07:00
parent 095f9fa411
commit 8e35291dcd

View File

@ -32,7 +32,8 @@ FrozenImage::DecrementAnimationConsumers()
NS_IMETHODIMP
FrozenImage::GetAnimated(bool* aAnimated)
{
nsresult rv = InnerImage()->GetAnimated(aAnimated);
bool dummy;
nsresult rv = InnerImage()->GetAnimated(&dummy);
if (NS_SUCCEEDED(rv)) {
*aAnimated = false;
}