commit | dd4c3ddadbb9869f59cee201a38e9ca3b9154f4d | [log] [tgz] |
---|---|---|
author | Alexander Dunaev <adunaev@igalia.com> | Tue Dec 14 09:54:52 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 14 09:54:52 2021 |
tree | 20c9ca1d8d2caf14be6eccf113550b929e2530e5 | |
parent | d5684ab99411bd973c4c5fcb400070c4094dd57d [diff] |
[linux/wayland] Fixed terminate caused by binding to wrong version. The Ozone/Wayland implementation had a few places where the Wayland objects were bound without proper checking for their versions. That was part of the technical debt not addressed before, and ended up causing the issue explained in the linked crbug: the compositor terminates the client that binds to the protocol that it does not actually support. This patch fixes the issue by adding the necessary checks in all places where they were missing. Also a convenience macro for validating the version is proposed. Bug: 1279574 Change-Id: I74efa97f64b480bed47372d8d559593ae84eeb18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3337037 Reviewed-by: Maksim Sisov <msisov@igalia.com> Commit-Queue: Alexander Dunaev <adunaev@igalia.com> Cr-Commit-Position: refs/heads/main@{#951428}
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.