commit | 53bcd56369dd47d3c815f1f3e73a716f17da046e | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Fri Apr 28 07:37:27 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 28 07:37:27 2023 |
tree | 4015dd71685847c51f4d44fda9dbca696df28a34 | |
parent | 166b282cb1b44c14fa4d3e9e9531c03d17ab20c3 [diff] |
[balance-text] Cache conditions to disable balancing This patch moves the computation of disabling conditions from `NGParagraphLineBreaker` to `NGInlineItemsBuilder` so that it can be computed during the layout and the result is cached. `NGParagraphLineBreakerTest` covers the tests. Bug: 1251079 Change-Id: I1167988bfe3df1cded1a1e683e22a99a86f7e608 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4486319 Commit-Queue: Koji Ishii <kojii@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Auto-Submit: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1137007}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.