Fold SVGResourcesCache::ClientStyleChanged
Since LayoutObject::SetStyle sets needs-paint-property-update based on StyleDifference we can rely on that and drop the double-work. Make changes to the 'mask' property also set the property-specific mask-changed flag to have it be handled by the generic code. Add LayoutSVGResourceContainer::StyleDidChange matching the tail of the folded function. Bug: 1028063 Change-Id: I010232520ec051e6df1bd21408ae64083d91900d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2504314Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#821732}
Showing
Please register or sign in to comment