-
ananta authored
The 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 Review URL: https://codereview.chromium.org/657203002 Cr-Commit-Position: refs/heads/master@{#299825}
fd31940e