Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't forward delegated ink metadata if the diameter is <= 0
If the diameter is 0 or below, then nothing will be rendered to the screen. Therefore, we can just bail early to save some precious cycles and avoid any unexpected behaviour if a negative diameter is provided. Bug: 1093159 Change-Id: I1de4bfd4788a823201c468cd1089b0f44dd6bf98 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2239290 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Daniel Libby <dlibby@microsoft.com> Commit-Queue: Mario Bianucci <mabian@microsoft.com> Cr-Commit-Position: refs/heads/master@{#777114}
- Loading branch information