commit | 96d499224fbab1784f05ee170610820787ce91f5 | [log] [tgz] |
---|---|---|
author | Zoraiz Naeem <zoraiznaeem@chromium.org> | Thu Jun 20 19:17:25 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 20 19:17:25 2024 |
tree | dd562546a81b461273a467e919a3402ebbeda4b4 | |
parent | 19643a8d9ad81dd4985db5b5946efff8742fecc5 [diff] |
Snapped rounded corner bounds of the surface to pixel boundary Lacros specifies rounded corners bounds on the content layer to round the window. Lacros submits un-ceiled rounded corner bounds to exo. However for certain device scale factors, we get 1px misalignments between the content and non content area. In crrev.com/c/4726545, the rounded corner bounds were ceiled on the client side. The change was made in cc, however, given Ash Chrome uses the same code path, ceiling the rounded corner bounds caused 1px mis-alignments in the ChromeOS UI. (See b/329864176) After thorough discussion [1], and taking into account the blink expectations, it was decided to revert crrev.com/c/4726545. To fix the original lacros issue, we snap the rounded corner bounds to pixel boundary in exo itself. [1] https://chromium-review.googlesource.com/c/chromium/src/+/5606007/comments/c3506ff3_34177195 Bug: b/40267343 Change-Id: I95ad89205ea73b3fb2d335779aeb45052726bd66 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5605790 Commit-Queue: Zoraiz Naeem <zoraiznaeem@chromium.org> Reviewed-by: Antonio Gomes <tonikitoo@igalia.com> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Kramer Ge <fangzhoug@chromium.org> Cr-Commit-Position: refs/heads/main@{#1317551}
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.