Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not try to evict invalid surface ID
There is a timing where CollectSurfaceIdsForEviction can be called when surfaces have already been evicted. In this case, the evicted surface IDs will have been marked as invalid. Existing code for the embedded client checks if the surface IDs are valid before returning them for eviction, but for native occlusion the ui compositor window's surface ID is not checked. This CL adds the same check for the ui compositor window's surface ID. Bug: 328935971 Test: local testing + CQ Change-Id: I976e0043f521d8dcdcff46438b5f44896c041a85 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5364183 Commit-Queue: Eliot Courtney <edcourtney@chromium.org> Auto-Submit: Eliot Courtney <edcourtney@chromium.org> Reviewed-by: Jonathan Ross <jonross@chromium.org> Cr-Commit-Position: refs/heads/main@{#1272107}
- Loading branch information