mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
92c112278f
The code in ComputeSuitableScaleForAnimation feeds its double-based computation results into GetSuitableScale, which takes and returns floats. Also the double-based computation that it's doing involves calling UpdateMinMaxScale a bunch which explicitly uses the float variant of std::min and std::max. And all of this is used from ChooseScaleAndSetTransform which does other things like call a "RoundToFloatPrecision" function, and casts the final values to floats before setting the layer's prescale. So let's just use floats all the way through. MozReview-Commit-ID: BE3WC5hv89d --HG-- extra : rebase_source : 987d9d69ec2a200ed68c59bae5fae1115713a94c |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |