Index: Source/core/svg/SVGFECompositeElement.cpp |
diff --git a/Source/core/svg/SVGFECompositeElement.cpp b/Source/core/svg/SVGFECompositeElement.cpp |
index 510b72053c4f05126797e7e3d96a8c09c402fb78..6b8a569c53a717adbd706536b9f02e9945277d0a 100644 |
--- a/Source/core/svg/SVGFECompositeElement.cpp |
+++ b/Source/core/svg/SVGFECompositeElement.cpp |
@@ -61,6 +61,18 @@ inline SVGFECompositeElement::SVGFECompositeElement(Document& document) |
addToPropertyMap(m_svgOperator); |
} |
+void SVGFECompositeElement::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_k1); |
+ visitor->trace(m_k2); |
+ visitor->trace(m_k3); |
+ visitor->trace(m_k4); |
+ visitor->trace(m_in1); |
+ visitor->trace(m_in2); |
+ visitor->trace(m_svgOperator); |
+ SVGFilterPrimitiveStandardAttributes::trace(visitor); |
+} |
+ |
DEFINE_NODE_FACTORY(SVGFECompositeElement) |
bool SVGFECompositeElement::isSupportedAttribute(const QualifiedName& attrName) |
@@ -128,7 +140,7 @@ void SVGFECompositeElement::svgAttributeChanged(const QualifiedName& attrName) |
ASSERT_NOT_REACHED(); |
} |
-PassRefPtr<FilterEffect> SVGFECompositeElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
+PassRefPtrWillBeRawPtr<FilterEffect> SVGFECompositeElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
{ |
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value())); |
FilterEffect* input2 = filterBuilder->getEffectById(AtomicString(m_in2->currentValue()->value())); |
@@ -136,7 +148,7 @@ PassRefPtr<FilterEffect> SVGFECompositeElement::build(SVGFilterBuilder* filterBu |
if (!input1 || !input2) |
return nullptr; |
- RefPtr<FilterEffect> effect = FEComposite::create(filter, m_svgOperator->currentValue()->enumValue(), m_k1->currentValue()->value(), m_k2->currentValue()->value(), m_k3->currentValue()->value(), m_k4->currentValue()->value()); |
+ RefPtrWillBeRawPtr<FilterEffect> effect = FEComposite::create(filter, m_svgOperator->currentValue()->enumValue(), m_k1->currentValue()->value(), m_k2->currentValue()->value(), m_k3->currentValue()->value(), m_k4->currentValue()->value()); |
FilterEffectVector& inputEffects = effect->inputEffects(); |
inputEffects.reserveCapacity(2); |
inputEffects.append(input1); |