| Index: Source/core/svg/SVGFEDropShadowElement.cpp
|
| diff --git a/Source/core/svg/SVGFEDropShadowElement.cpp b/Source/core/svg/SVGFEDropShadowElement.cpp
|
| index f424bd605c3e2ead0537f93beb8da852ebd2a351..440fcbaea7ca02f90e64066a25ac806578969b03 100644
|
| --- a/Source/core/svg/SVGFEDropShadowElement.cpp
|
| +++ b/Source/core/svg/SVGFEDropShadowElement.cpp
|
| @@ -42,6 +42,15 @@ inline SVGFEDropShadowElement::SVGFEDropShadowElement(Document& document)
|
| addToPropertyMap(m_in1);
|
| }
|
|
|
| +void SVGFEDropShadowElement::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_dx);
|
| + visitor->trace(m_dy);
|
| + visitor->trace(m_stdDeviation);
|
| + visitor->trace(m_in1);
|
| + SVGFilterPrimitiveStandardAttributes::trace(visitor);
|
| +}
|
| +
|
| DEFINE_NODE_FACTORY(SVGFEDropShadowElement)
|
|
|
| void SVGFEDropShadowElement::setStdDeviation(float x, float y)
|
| @@ -88,7 +97,7 @@ void SVGFEDropShadowElement::svgAttributeChanged(const QualifiedName& attrName)
|
| ASSERT_NOT_REACHED();
|
| }
|
|
|
| -PassRefPtr<FilterEffect> SVGFEDropShadowElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
|
| +PassRefPtrWillBeRawPtr<FilterEffect> SVGFEDropShadowElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
|
| {
|
| RenderObject* renderer = this->renderer();
|
| if (!renderer)
|
| @@ -107,7 +116,7 @@ PassRefPtr<FilterEffect> SVGFEDropShadowElement::build(SVGFilterBuilder* filterB
|
| if (!input1)
|
| return nullptr;
|
|
|
| - RefPtr<FilterEffect> effect = FEDropShadow::create(filter, stdDeviationX()->currentValue()->value(), stdDeviationY()->currentValue()->value(), m_dx->currentValue()->value(), m_dy->currentValue()->value(), color, opacity);
|
| + RefPtrWillBeRawPtr<FilterEffect> effect = FEDropShadow::create(filter, stdDeviationX()->currentValue()->value(), stdDeviationY()->currentValue()->value(), m_dx->currentValue()->value(), m_dy->currentValue()->value(), color, opacity);
|
| effect->inputEffects().append(input1);
|
| return effect.release();
|
| }
|
|
|