Index: Source/core/svg/SVGFEGaussianBlurElement.cpp |
diff --git a/Source/core/svg/SVGFEGaussianBlurElement.cpp b/Source/core/svg/SVGFEGaussianBlurElement.cpp |
index d8ba680c419b0fdcf05db5f6dc39853b9bc29b96..83810b2f51b643126a6537696b163acb5795b4bf 100644 |
--- a/Source/core/svg/SVGFEGaussianBlurElement.cpp |
+++ b/Source/core/svg/SVGFEGaussianBlurElement.cpp |
@@ -38,6 +38,13 @@ inline SVGFEGaussianBlurElement::SVGFEGaussianBlurElement(Document& document) |
addToPropertyMap(m_in1); |
} |
+void SVGFEGaussianBlurElement::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_stdDeviation); |
+ visitor->trace(m_in1); |
+ SVGFilterPrimitiveStandardAttributes::trace(visitor); |
+} |
+ |
DEFINE_NODE_FACTORY(SVGFEGaussianBlurElement) |
void SVGFEGaussianBlurElement::setStdDeviation(float x, float y) |
@@ -79,7 +86,7 @@ void SVGFEGaussianBlurElement::svgAttributeChanged(const QualifiedName& attrName |
ASSERT_NOT_REACHED(); |
} |
-PassRefPtr<FilterEffect> SVGFEGaussianBlurElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
+PassRefPtrWillBeRawPtr<FilterEffect> SVGFEGaussianBlurElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
{ |
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value())); |
@@ -89,7 +96,7 @@ PassRefPtr<FilterEffect> SVGFEGaussianBlurElement::build(SVGFilterBuilder* filte |
if (stdDeviationX()->currentValue()->value() < 0 || stdDeviationY()->currentValue()->value() < 0) |
return nullptr; |
- RefPtr<FilterEffect> effect = FEGaussianBlur::create(filter, stdDeviationX()->currentValue()->value(), stdDeviationY()->currentValue()->value()); |
+ RefPtrWillBeRawPtr<FilterEffect> effect = FEGaussianBlur::create(filter, stdDeviationX()->currentValue()->value(), stdDeviationY()->currentValue()->value()); |
effect->inputEffects().append(input1); |
return effect.release(); |
} |