Checks for rect size on Canvas strokeRect
StrokeRect can get inflated, which may go to infinity. Generalize the validation functions for double and float and validate rect during strokeRect. Bug: 1010586 Change-Id: Id2e057bf1f5789b334a8ad3155a1da0a1a91b8f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1869034 Commit-Queue: Yi Xu <yiyix@chromium.org> Reviewed-by:Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#710587}
Showing
Please register or sign in to comment