[Text Decorations] Cache computed paths
The paths for wavy, dashed and dotted paths are quite expensive to compute and are used in both bounds and painting. Cache them, recomputing when needed and resetting when any line data changes. No change in net behavior. Bug: 896295 Change-Id: If0e58f49e6ecc9246b95d4b883eec1ac7d006ce6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2342641 Commit-Queue: Stephen Chenney <schenney@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#796244}
Showing
Please register or sign in to comment