Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebView SurfaceSyncThrottling Fullscreen Fix
WebView Fullscreen transitions are being signalled incorrectly in two steps of ViewAndroid::OnPhysicalBackingSizeChanged. SurfaceSyncThrottling ends up detecting this as a step in a rotation a we incorrectly wait for a subsequent resize that never comes. This leads to displaying a blank space under the fullscreen content. This patch relands a portion of the non-SurfaceSyncThrottling path that was removed in: https://chromium-review.googlesource.com/c/chromium/src/+/3445360 Just the functional logic, and feature flag. The additional metricing is excluded. The revert itself was not landed directly as it was not clean. This is being relanded to allow us to control the rollout on WebView in M100. This patch also fixes the error, by clearing fullscreen rotation flag upon the upon the activation of RenderFrameMetadata for rotations. Allowing the WebView double signalling to not trigger the throttling. (cherry picked from commit 33dc7bb) Bug: 1302964 Change-Id: Id323e6bbab8c45fc96c7b1143850c9ce32dd6421 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3510288 Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Jonathan Ross <jonross@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#978969} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3522705 Auto-Submit: Jonathan Ross <jonross@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/4896@{#535} Cr-Branched-From: 1f63ff4-refs/heads/main@{#972766}
- Loading branch information
Jonathan Ross
authored and
Chromium LUCI CQ
committed
Mar 14, 2022
1 parent
6aab042
commit 8b66d72
Showing
6 changed files
with
53 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters