summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGFEOffsetElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGFEOffsetElement.cpp')
-rw-r--r--WebCore/svg/SVGFEOffsetElement.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/svg/SVGFEOffsetElement.cpp b/WebCore/svg/SVGFEOffsetElement.cpp
index 58b4a6a..65523a5 100644
--- a/WebCore/svg/SVGFEOffsetElement.cpp
+++ b/WebCore/svg/SVGFEOffsetElement.cpp
@@ -86,7 +86,9 @@ PassRefPtr<FilterEffect> SVGFEOffsetElement::build(SVGFilterBuilder* filterBuild
if (!input1)
return 0;
- return FEOffset::create(input1, dx(), dy());
+ RefPtr<FilterEffect> effect = FEOffset::create(dx(), dy());
+ effect->inputEffects().append(input1);
+ return effect.release();
}
}