[iOS] Update view on DynamicType changes
This CL marks the WebState's view as dirty when the preferred content size is changed. It causes the view to be laid out again. It also changes the way the Overscroll controller is getting its initialHeaderInset, by asking it to the delegate every time instead of caching it, as the value become stale after changing the preferred content size. Bug: 892145 Change-Id: I2fe0b54a107e0cfed438ea5c57efdbb65fe4c5a3 Reviewed-on: https://chromium-review.googlesource.com/c/1307443 Commit-Queue: Gauthier Ambard <gambard@chromium.org> Reviewed-by:Kurt Horimoto <kkhorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#605645}
Showing
Please register or sign in to comment