0
Files
src/content/app_shim_remote_cocoa
Lichen Liu cfe5f9292d Guard access to ContentClient in occlusion checker of Mac
Ensure that `performOcclusionStateUpdates` and `setWebContentsVisibility` check if content::GetContentClient() is nullptr before proceeding. Add necessary safeguards to prevent the crash when content::GetContentClient() is nullptr.

Bug: 385901565
Change-Id: I336982157f115517343db38223e4aabdcb6afa89
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6110550
Reviewed-by: Leonard Grey <lgrey@chromium.org>
Reviewed-by: Leon Han <shulianghan@microsoft.com>
Commit-Queue: Lichen Liu <lichenliu@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1403344}
2025-01-07 17:48:18 -08:00
..