Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[balance-text] Fix divide-by-zero when very narrow
This patch fixes divide-by-zero error in `EstimateNumLines` when the available width is smaller than `1ch`. Bug: 1251079 Change-Id: I15888e6e8bbd0a0efb9dad5229dbef1050d668f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4295483 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Auto-Submit: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1111030}
- Loading branch information