Bug 1128188 - Allow creation of animated frames that do not fit inside the bounds of their image. r=jrmuizel

This commit is contained in:
Seth Fowler 2015-02-07 03:51:40 -08:00
parent 665923eab5
commit dbbbebaaac

View File

@ -123,7 +123,7 @@ static bool AllowedImageAndFrameDimensions(const nsIntSize& aImageSize,
}
nsIntRect imageRect(0, 0, aImageSize.width, aImageSize.height);
if (!imageRect.Contains(aFrameRect)) {
return false;
NS_WARNING("Animated image frame does not fit inside bounds of image");
}
return true;
}