Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CrOS: Speculative crash fix for icon standardizer by limiting scale size
This is a speculative crash fix for the call to drawBitmap() in the icon standardizer. |Scale| is passed in as a multiplying parameter. Instead, limit its size. This will also save calculation time for the case when the existing icon is too small to be considered circular. Bug: 1162155 Change-Id: I466755344551e2fe74b80c5c921263be3ffe7902 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2658718 Reviewed-by: Nancy Wang <nancylingwang@chromium.org> Commit-Queue: Matthew Mourgos <mmourgos@chromium.org> Cr-Commit-Position: refs/heads/master@{#849624}
- Loading branch information