diff options
author | joedow <joedow@chromium.org> | 2015-12-08 16:31:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-09 00:33:00 +0000 |
commit | 8eb66c08e36b6fa54bce5b7347e9e6e51d8f782d (patch) | |
tree | 44e8416983dffd424fb36aa626c9f0a00f133227 /ipc | |
parent | 94278580417ec6bbc7b1c99fead31b6cc448d9cb (diff) | |
download | chromium_src-8eb66c08e36b6fa54bce5b7347e9e6e51d8f782d.zip chromium_src-8eb66c08e36b6fa54bce5b7347e9e6e51d8f782d.tar.gz chromium_src-8eb66c08e36b6fa54bce5b7347e9e6e51d8f782d.tar.bz2 |
Fixing a crash that occurs when our feedback animation is interrupted.
Our input feedback animation code handles being interrupted, however if
the timing is just right, the duration since the start of the animation
will cause the radius of the animation to be 0 which is an invalid
parameter for the RadialGradient class we use to draw the feedback. My
fix is to prevent this from occurring by exiting the render() function
early and allowing the animation to begin on the subsequent render()
call.
BUG=
Review URL: https://codereview.chromium.org/1506013003
Cr-Commit-Position: refs/heads/master@{#363851}
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions