[ozone/wayland]Don't post OnSubmit/OnPresent if the surface is unregistered
When WaylandSurfaceGpu is unregistered, its task_runner is also expected to be forgotten. There are crashes caused by not finding the task_runner. This CL adds a check if the task_runner is unregistered and avoid posting to non-existent task_runners. Change-Id: I1b7d64a5b469e365d5d87ecc5f2332e74d2faf15 Bug: 1139518 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2502954Reviewed-by:Robert Kroeger <rjkroege@chromium.org> Commit-Queue: Kramer Ge <fangzhoug@chromium.org> Cr-Commit-Position: refs/heads/master@{#821845}
Showing
Please register or sign in to comment