Rework "SelfWillPaint-handling" in SVGContainerPainter
Check if the container has a filter effect property (with a reference filter) before ensuring a paint chunk. This both robust against paint-from-prepaint (crbug.com/848056) as well as achieving the goal of the SelfWillPaint() check. This also eliminates the last user of SelfWillPaint() so it and SVGLayoutSupport::HasFilterResource() which it uses can be removed. Bug: 109224, 848056, 1131498 Change-Id: Ic3da600c011d0a48bf562d9fea013e258d436e56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424187 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#810564}
Showing
Please register or sign in to comment