Temporary fix for top controls ratio propagation from main to impl
The impl tree viewport changes caused by |top_controls_shown_ratio_| changes are not reflected on the main thread when the top controls are partially shown. This causes a mismatch each time we push property trees from main > impl. This change provides a temporary fix by updating the viewport any time we push main > impl when in a partially shown state. Long term we should propagate these changes to the main tree and avoid this workaround. Bug: 875943 Change-Id: I47e6a5127e6a2c76b5286e257904d2501e3859a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1795572 Commit-Queue: Eric Karl <ericrk@chromium.org> Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by:Khushal <khushalsagar@chromium.org> Auto-Submit: Eric Karl <ericrk@chromium.org> Cr-Commit-Position: refs/heads/master@{#695372}
Showing
Please register or sign in to comment