diff options
Diffstat (limited to 'WebCore/svg/SVGFEComponentTransferElement.cpp')
-rw-r--r-- | WebCore/svg/SVGFEComponentTransferElement.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/svg/SVGFEComponentTransferElement.cpp b/WebCore/svg/SVGFEComponentTransferElement.cpp index a99e74c..f6b26f5 100644 --- a/WebCore/svg/SVGFEComponentTransferElement.cpp +++ b/WebCore/svg/SVGFEComponentTransferElement.cpp @@ -83,7 +83,9 @@ PassRefPtr<FilterEffect> SVGFEComponentTransferElement::build(SVGFilterBuilder* alpha = static_cast<SVGFEFuncAElement*>(n)->transferFunction(); } - return FEComponentTransfer::create(input1, red, green, blue, alpha); + RefPtr<FilterEffect> effect = FEComponentTransfer::create(red, green, blue, alpha); + effect->inputEffects().append(input1); + return effect.release(); } } |