Perform ScopedPause in ShellSurfaceBase::OnSurfaceCommit
This fixes the case where the occlusion is changed while we are updating all the pending properties. This caused some wrong occlusion updates. Bug: 140563748 Test: Spurious occlusion update no longer occurs when leaving PIP. Change-Id: Ic9bdbf62c655285eb8fbe1c80d221ff95bbbd096 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1794526 Commit-Queue: Stefan Kuhne <skuhne@chromium.org> Reviewed-by:Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#695323}
Showing
Please register or sign in to comment