Add calls to SetDisplayRect(...) to trigger eliding code
This CL is adding coverage of SetDisplayRect(...) to the RenderText API fuzzer. This is required to trigger the eliding code. Eliding occurs only when the text can't fit the display rect. The fuzzer should have caught that bug (crbug/1142020). We are expecting a new series of bugs from clusterfuzz after landing this change. These bugs are not recently added to chrome but should be fixed. Bug: 1142020 Change-Id: Id0fcfb025651286f4c474004ef8f93b48fb0e281 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2522605 Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Reviewed-by:Michael Wasserman <msw@chromium.org> Cr-Commit-Position: refs/heads/master@{#825539}
Showing
Please register or sign in to comment