Simplify SVGResourcesCache::ClientStyleChanged
This is largely a revert of the code-change from a77da2a9, since that workaround should no longer be required now that the visual rect no longer has bounds of clip-path, mask and filter baked in. Also replace the check of LayoutObjectCanHaveResources() with a DCHECK since this is guaranteed by the callers. Bug: 1028061, 1028063 Change-Id: I3cd7eef130468ca1bb2e6473535fac815a7bda1f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2450151Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#814132}
Showing
Please register or sign in to comment