DescriptionCleanup color space resolution for ReferenceFilterBuilder
There's some dodgy-looking code, used by ReferenceFilterBuilder::build
to compute a ColorSpace for each filter primitive. Convert it to
compute an EColorInterpolation instead, and then resolve the ColorSpace
from that similarly to how LayoutSVGResourceFilter::buildPrimitives
does it. Also try to make it "cascade" the value in a more proper way,
rather than just selecting the value from the filter or the primitive.
This moves the two code-paths a bit closer to each other.
Also convert ReferenceFilterBuilder::build(...) to take references as
arguments where it makes sense.
BUG=109224
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194729
Patch Set 1 #Patch Set 2 : TEs #
Total comments: 4
Patch Set 3 : Touchup comment. #
Messages
Total messages: 11 (4 generated)
|