Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui/display/manager: Do not use DisplaySnapshot* in callbacks
DisplaySnapshot* may be no longer available when used in callbacks with different thread, so extract just necessary information to pass onto callbacks (cherry picked from commit b8f2d81) Bug: b/285010517 Test: Pass unit tests Change-Id: I08463eae9834440ac7f32ec74df4712c2a69ac8f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4575491 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Won Chung <wonchung@google.com> Cr-Original-Commit-Position: refs/heads/main@{#1152755} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4591742 Cr-Commit-Position: refs/branch-heads/5790@{#389} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information