DescriptionAvoid scaling a zero-sized image
Since scaling a zero-sized image can result in dealing with NaNs (in case
that we're scaling it using an inf, which is fairly possible), we should
avoid doing that. This CL makes sure that we do.
As to why we're dealing with zero sized images to begin with, I've opened
crbug.com/522637, but it seems like something that can happen regardless,
when ImageResource doesn't have an Image.
BUG=521954
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200879
Patch Set 1 #Patch Set 2 : rebase #
Total comments: 1
Messages
Total messages: 9 (3 generated)
|