mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1128188 - Allow creation of animated frames that do not fit inside the bounds of their image. r=jrmuizel
This commit is contained in:
parent
665923eab5
commit
dbbbebaaac
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user