DescriptionUpdate page scale factor when layout updates
Page scale factor is updated when a main frame is committed. But that is
not enough because when WebView is invisible, there won't be main frame
commits.
In order to get page scale factor updates even when WebView is
invisible, check page scale factor change when the layout is updated.
BUG=520089
Committed: https://crrev.com/f4e647c7be4db5bbea755042ee965b7accd2adf3
Cr-Commit-Position: refs/heads/master@{#351116}
Patch Set 1 #
Total comments: 2
Patch Set 2 : use timer #
Total comments: 2
Patch Set 3 : de-dup #
Messages
Total messages: 12 (3 generated)
|