Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For resizing, we will defer releasing the old VulkanSwapChian with VulkanFenceHelper. In some cases, we may release VulkanSurface before releasing an old VulkanSwapChain. It cause use-after-release problem. Fix the problem, by also releasing VulkanSurface with VulkanFenceHelper as well. (cherry picked from commit 736d6c8) Bug: 1395542 Change-Id: Iefdb29e4224dc539c4b2c23323314ae5fcd02433 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4081750 Commit-Queue: Peng Huang <penghuang@chromium.org> Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Auto-Submit: Peng Huang <penghuang@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1079797} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4089608 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5359@{#1142} Cr-Branched-From: 27d3765-refs/heads/main@{#1058933}
- Loading branch information