commit | d673bb9bbaf6ce36dd2907a3cfe45b2eb376613c | [log] [tgz] |
---|---|---|
author | Eliot Courtney <edcourtney@google.com> | Mon Aug 03 04:28:49 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Aug 03 04:28:49 2020 |
tree | af8412e49ca42fdbb326680cc5bfa148e9d9b593 | |
parent | 36c2992fc26c008af3bce635f8fb5675d8e4ab59 [diff] |
Use unique gfx::AcceleratedWidget in ozone/wayland. The current implementation uses wayland IDs for creating gfx::AcceleratedWidget IDs. These IDs can (and are) re-used, which leaves room for subtle races (see bug for details). This CL allocates unique gfx::AcceleratedWidgets instead, using a counter. Bug: 1103101 Bug: 1110354 Test: lacros runs; unit tests; weston + ozone chrome works Change-Id: Ifc44f1b430ec3a47ac0fc87ba9cbdc11f31e6dec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2331757 Reviewed-by: Maksim Sisov (GMT+3) <msisov@igalia.com> Reviewed-by: Kramer Ge <fangzhoug@chromium.org> Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Commit-Queue: Eliot Courtney <edcourtney@chromium.org> Cr-Commit-Position: refs/heads/master@{#793999}
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.