Fix FontDescription cache keys with identical FontVariationSettings
Two identical FontDescriptions with identical font-variation-settings axis + value pairs should produce the same FontCacheKey hash. Fix an issue in FontCacheKey computation that only performs pointer comparisons on the FontVariationSettings. This fixes a smaller percentage of FontCache misses during variable font animations. Bug: 1046257 Change-Id: I05ae3ac64b289dc7e1c41b03ab15d7e651195d9b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2023650Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Dominik Röttsches <drott@chromium.org> Cr-Commit-Position: refs/heads/master@{#736280}
Showing
Please register or sign in to comment