Refactor dirty font cache handling.
ApplyRuleSetChanges was hard to understand because it contained various branching for user style updates which wasn't clear were for user style. Move the user style specific font and keyframes handling to a separate ApplyUserRuleSetChanges and create a common InvalidateForRuleSetChanges to do the common code for marking nodes for style invalidation/recalc. Change-Id: I7b4907e526e5768f1957e5be3ad1b41f9a5d35f0 Reviewed-on: https://chromium-review.googlesource.com/c/1258543Reviewed-by:Anders Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#597081}
Showing
Please register or sign in to comment