Fix a bug that video controls don't completely disappear in full screen mode
The Direct Composition Visual tree should be rebuilt after switching between overlay and underlay. Because the old code didn't do this, the swap chain is still in underlay mode after switching from underlay to overlay. Thus, the video controls from the last underlay frame still shows on the later overlay frames. Bug: 978203, 974344 Change-Id: If179fc07de6a2a9580234310e25f90221a06fc12 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1697312Reviewed-by:Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Sunny Sachanandani <sunnyps@chromium.org> Commit-Queue: Maggie Chen <magchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#676603}
Showing
Please register or sign in to comment