DescriptionMove ReferenceFilterBuilder::build to FilterEffectBuilder
This function resolves a filter reference and then builds a filter
(sub)DAG for painting. Split it into the two fairly distinct parts,
leaving ReferenceFilterBuilder as a class that only does element
lookup/resolution, while the DAG-building takes place in
FilterEffectBuilder (with a little help from SVGFilterBuilder.)
Use the new function in SVGFilterPainter.
Also pass Element& to ReferenceFilterBuilder::build, and remove a
redundant null-check of ComputedStyle in
PaintLayer::updateOrRemoveFilterEffectBuilder (already checked by
paintsWithFilters and assumed later in the function.)
BUG=109224, 533457
Committed: https://crrev.com/20a5c045d0eb975be198b14204ce5eb6a5ab60e2
Cr-Commit-Position: refs/heads/master@{#398866}
Patch Set 1 #Patch Set 2 : Workaround empty filterRegion discrepancy. #
Total comments: 7
Patch Set 3 : zoomedReferenceBoxSize #
Depends on Patchset: Messages
Total messages: 12 (4 generated)
|