DescriptionThe ScaleImageSkiaRep function which attempts to scale the image to the desired scale should not do anything if the image is already scaled to the required scale.
The FindRepresentation function in ImageSkiaStorage has support for returning images scaled to the desired scale.
This fixes an annoying DCHECK firing on Windows boxes with display scales like 125%, 150%, etc.
BUG=NONE
Committed: https://crrev.com/fd31940eaea7d4a21c5f2ad3e2786259621edf65
Cr-Commit-Position: refs/heads/master@{#299825}
Patch Set 1 #
Messages
Total messages: 14 (5 generated)
|