Fix how folder image item is drawn in folder icon
Fixes sizing when drawing image rep for the target scale - instead of using the rep's pixel size, use DIP size multiplied by scale (in case the icon image does not have exact representation for the target scale). BUG=1018038 Change-Id: Idd184ffa34675816dc7b9a6b9d52eafc6c55c485 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888654Reviewed-by:Nic Hollingum <hollingum@google.com> Reviewed-by:
Alex Newcomer <newcomer@chromium.org> Commit-Queue: Alex Newcomer <newcomer@chromium.org> Cr-Commit-Position: refs/heads/master@{#710865}
Showing
Please register or sign in to comment