DescriptionUse Math.ceil() instead of FloatMath.ceil() in TitleBitmapFactory class.
Below lint warnings were reported which is legitimate:
org/chromium/chrome/browser/compositor/layouts/content/TitleBitmapFactory.class
Use `java.lang.Math#ceil` instead of `android.util.FloatMath#ceil()`
since it is faster as of API 8: FloatMath [warning]
FloatMath.ceil() will be significantly slower
on versions of Android with a JIT. The equivalent Math.ceil() is faster hence using the same.
BUG=None.
Committed: https://crrev.com/69e50e5ff7c33127bd4e5c11f751156ac5c786ff
Cr-Commit-Position: refs/heads/master@{#311631}
Patch Set 1 #
Messages
Total messages: 13 (3 generated)
|