commit | 0fea19b09952f369e2c8533b64cd6f441bc89da2 | [log] [tgz] |
---|---|---|
author | Zakhar Voit <zvoit@igalia.com> | Wed Dec 09 22:02:10 2020 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 09 22:02:10 2020 |
tree | 5115c944c1a3b830e7f1e1afbebfb9bf2585dd5f | |
parent | 56ad5563648653f11b4ee4ad94ad7d5fd43b551e [diff] |
[Lacros] Fix tooltip window crash on mixed DPI WaylandAuxiliaryWindow is not provided with a correct parent and buffer_scale upon creation. That causes the DCHECK at https://source.chromium.org/chromium/chromium/src/+/master:ui/ozone/platform/wayland/common/wayland_util.cc;l=271 being triggered. This CL updates buffer_scale before creating the tooltip subsurface and makes sure that WaylandAuxiliaryWindow doesn't receive scale updates when a display changes (just like we already do with menus). BUG=1152569 Change-Id: I0a0357fe1151915d5ed9142c395b4f76099abe3a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2560588 Commit-Queue: Zakhar Voit <zvoit@igalia.com> Reviewed-by: Maksim Sisov (GMT+2) <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#835376}
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.