Deflake 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 Review URL: https://codereview.chromium.org/907143002 Cr-Commit-Position: refs/heads/master@{#315416}
Showing
Please register or sign in to comment