commit | 3c041873b41d26755bbc646461ca6c0c30ec0f41 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Thu Jan 18 05:55:18 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 18 05:55:18 2024 |
tree | f0a07f04ef4da64261f4cc413a170efb29800746 | |
parent | 073d912f897d277bb100b772441ae58b52250756 [diff] |
[text-spacing-trim] Avoid redundant reshape When `ShapingLineBreaker` determined to use up to the end of the given `ShapeResult`, it calls `ShapeToEnd`. Since r1246256 crrev.com/c/5186201, when it calls `ShapeToEnd`, the `line_start_result` is already calculated. This patch changes `ShapeToEnd` to use it instead of re-shaping. This reduces one re-shaping when `ShapeToEnd`. This patch has no behavior changes. Bug: 1463891 Change-Id: I3155e4cf4290657ec87e58c361992e7451f895c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5205230 Commit-Queue: Kent Tamura <tkent@chromium.org> Auto-Submit: Koji Ishii <kojii@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1248605}
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.