| Index: Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
|
| diff --git a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
|
| index a05c92c21fec8d465f456837e181903024de84ac..1bdab5b679b6b4bc93546f3844a64556ff7db805 100644
|
| --- a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
|
| +++ b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
|
| @@ -24,6 +24,7 @@
|
| #include "core/svg/SVGAnimatedLength.h"
|
| #include "core/svg/SVGAnimatedString.h"
|
| #include "core/svg/SVGElement.h"
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| @@ -40,7 +41,7 @@ class SVGFilterPrimitiveStandardAttributes : public SVGElement {
|
| public:
|
| void setStandardAttributes(FilterEffect*) const;
|
|
|
| - virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter* filter) = 0;
|
| + virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) = 0;
|
| // Returns true, if the new value is different from the old one.
|
| virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&);
|
|
|
| @@ -51,6 +52,8 @@ public:
|
| SVGAnimatedLength* height() const { return m_height.get(); }
|
| SVGAnimatedString* result() const { return m_result.get(); }
|
|
|
| + virtual void trace(Visitor*) override;
|
| +
|
| protected:
|
| SVGFilterPrimitiveStandardAttributes(const QualifiedName&, Document&);
|
|
|
| @@ -68,11 +71,11 @@ private:
|
| virtual RenderObject* createRenderer(RenderStyle*) override final;
|
| virtual bool rendererIsNeeded(const RenderStyle&) override final;
|
|
|
| - RefPtr<SVGAnimatedLength> m_x;
|
| - RefPtr<SVGAnimatedLength> m_y;
|
| - RefPtr<SVGAnimatedLength> m_width;
|
| - RefPtr<SVGAnimatedLength> m_height;
|
| - RefPtr<SVGAnimatedString> m_result;
|
| + RefPtrWillBeMember<SVGAnimatedLength> m_x;
|
| + RefPtrWillBeMember<SVGAnimatedLength> m_y;
|
| + RefPtrWillBeMember<SVGAnimatedLength> m_width;
|
| + RefPtrWillBeMember<SVGAnimatedLength> m_height;
|
| + RefPtrWillBeMember<SVGAnimatedString> m_result;
|
| };
|
|
|
| void invalidateFilterPrimitiveParent(SVGElement*);
|
|
|