Chromium Code Reviews
DescriptionDeflake and reenable top controls tests.
Windows bots had trouble with the expectations in the animation loops.
Because of floating point inaccuracies, the top controls offset could be
exactly the same during the last two frames of the animation, because
the shown ratio was just off the minimum and that delta disappeared when
multiplying by the height. This switches to checking the ratio itself,
which should match the same value that the animation system uses to
check if the next frame is needed.
BUG=456617
Committed: https://crrev.com/2c00a9a6c962300efed56e630aabbf49144c2d64
Cr-Commit-Position: refs/heads/master@{#315416}
Patch Set 1 #Patch Set 2 : Reupload same patch for another try run #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||