commit | b0e1920256182b5c3cad1fa929e7c52aaacc0bd8 | [log] [tgz] |
---|---|---|
author | Avi Drissman <[email protected]> | Mon Aug 10 18:41:09 2020 |
committer | Commit Bot <[email protected]> | Mon Aug 10 18:41:09 2020 |
tree | 4a0f9c7a760948eb3a04ea79a52bd61f24cf7866 | |
parent | aeac46772efc2765c9e1bd402b7d54f4921fe99a [diff] |
Do clean up in PlatformFontMac Do not try to derive one weight of font from another. Use the API to directly generate them. PlatformFontMacTest.FontWeightAPIConsistency tested that our understanding of shifting weights up and down was correct. The code no longer shifts weights up and down as that is unreliable and version-specific, so there is no need to test weight shifting and it is removed. This also fixes Big Sur issues. This re-lands c2e39ede4e8a9a7a1f944af41475dae7cb079b26. It turns out that DCHECKs do evaluate everything in them so wrap it with DCHECK_IS_ON(). Bug: 1101426 Change-Id: I1194b4aa127223456b432d12c47d248264d87c85 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2342387 Reviewed-by: Elly Fong-Jones <[email protected]> Commit-Queue: Avi Drissman <[email protected]> Cr-Commit-Position: refs/heads/master@{#796478}
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.
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.