commit | 0474971749b658a7a5c3635f4691a609e87c6c7a | [log] [tgz] |
---|---|---|
author | Sergio Villar Senin <svillar@igalia.com> | Fri Aug 16 08:17:55 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Aug 16 08:17:55 2019 |
tree | bdd907de9f8a98b3b3a8001573b84436fddf2cd2 | |
parent | ec311b21a71cd31358dd874c6cd8700ed3f274db [diff] |
Remove infinities from Animation::TimeToEffectChange() This method was using std::numeric_limits<double>::infinity() to represent an animation that was no longer in effect. Instead of using infinities we could better change the return type to base::Optional<double> and simply return base::nullopt instead of the infinity value. This will ease the transition to using AnimationTimeDelta instead of a double. Bug: 737867 Change-Id: Icc42f983cd4d1639b84d4d82673e2d6591a09827 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1751242 Commit-Queue: Sergio Villar <svillar@igalia.com> Reviewed-by: Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#687599}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .