DescriptionDon't calculate a shown ratio when top controls height is 0.
This was causing a crash in Blink with some Chrome Android UI pages. These
pages would disable top controls by setting the height to 0 but when we
scroll the page we calculate the "shown ratio" by dividing by height. This
the divided-by-0 value made its way down to Blink.
BUG=460007
Committed: https://crrev.com/bfc7eb20e9d2bccc06f16c25d7e95870bbceaa3b
Cr-Commit-Position: refs/heads/master@{#319621}
Patch Set 1 #
Messages
Total messages: 13 (4 generated)
|