webview: fix zoom control updating
As part of https://chromium-review.googlesource.com/c/chromium/src/+/2225548 I removed an override of onScrollOffsetOrExtentChanged. It turns out the code was relying on this to be called when the scale factor changed so that the zoom-controls could be updated. The fix is to update the zoom-controls when the scale factor changes. BUG=1116921 TEST=see bug Change-Id: Iea87c23e9ea0e6b5934ee568f668388dde489ed6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2405645Reviewed-by:Bo <boliu@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#806628}
Showing
Please register or sign in to comment