Fold LayoutSVGResourceContainer::MarkClientForInvalidation
This allows simplifying callers a bit since most of them pass a constant set of flags, and we can tailor the code better based on that. For example there should be no need to call InvalidateClipPathCache() when a filter is being invalidated, and similarly we shouldn't need to mark for paint invalidation since we no longer have a paint dependence for the filter handling. While at it, wrap up the common sequence for invalidating the filter cache into a function. Bug: 1028063 Change-Id: Ieada3250cf7dd096f432b6fd605f584aafbeb268 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2454053Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#814663}
Showing
Please register or sign in to comment