commit | d34b3ec775b51a38c127356f503cf401d02e44b9 | [log] [tgz] |
---|---|---|
author | weidongliu <weidongliu@chromium.org> | Thu Jun 20 15:35:03 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 20 15:35:03 2024 |
tree | ee48e05fae3911400b1ae3b9e754ddfe4a9c543a | |
parent | 8ef61253b351ca68927e9506e14ce975dcbdec0c [diff] |
StyledLabel: remove GetHeightForWidth overloads. In StyledLabel, our implementations of CalculatePreferredSize and GetHeightForWidth are inconsistent. To avoid this problem, we should first unify the calculation method. This CL smooths out the differences between CalculatePreferredSize and GetHeightForWidth. And removes GetHeightForWidth. Bug: 40232718 Change-Id: I38adf0e4bec2d33ef65e5bdb6d47c61240ad6954 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5633161 Commit-Queue: Weidong Liu <weidongliu@chromium.org> Reviewed-by: Allen Bauer <kylixrd@chromium.org> Cr-Commit-Position: refs/heads/main@{#1317395}
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.