Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat out of gfx::Range limit NSRange as NSNotFound
[NSRange location] might be larger than 2^32-1. When this happens, the range check in gfx::Range ctor will fail. Thus, speculatively fix it by treating out of limit NSRange as NSNotFound range. Bug: 1345195 Change-Id: Ia7cb5744cbef631b74131191807fa24766bf8e02 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3775034 Reviewed-by: Leonard Grey <lgrey@chromium.org> Commit-Queue: Keren Zhu <kerenzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1026307}
- Loading branch information