| Index: Source/core/svg/SVGStaticStringList.h
|
| diff --git a/Source/core/svg/SVGStaticStringList.h b/Source/core/svg/SVGStaticStringList.h
|
| index e007bdee708bbebb0c7f4a6476d21e8a9c9bbb27..4805bf87d65e03bdfbb12bad041955563645b2e6 100644
|
| --- a/Source/core/svg/SVGStaticStringList.h
|
| +++ b/Source/core/svg/SVGStaticStringList.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "core/svg/SVGStringListTearOff.h"
|
| #include "core/svg/properties/SVGAnimatedProperty.h"
|
| +#include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| @@ -42,9 +43,9 @@ class SVGElement;
|
| // Inherits SVGAnimatedPropertyBase to enable XML attribute synchronization, but this is never animated.
|
| class SVGStaticStringList final : public SVGAnimatedPropertyBase {
|
| public:
|
| - static PassRefPtr<SVGStaticStringList> create(SVGElement* contextElement, const QualifiedName& attributeName)
|
| + static PassRefPtrWillBeRawPtr<SVGStaticStringList> create(SVGElement* contextElement, const QualifiedName& attributeName)
|
| {
|
| - return adoptRef(new SVGStaticStringList(contextElement, attributeName));
|
| + return adoptRefWillBeNoop(new SVGStaticStringList(contextElement, attributeName));
|
| }
|
|
|
| virtual ~SVGStaticStringList();
|
| @@ -52,8 +53,8 @@ public:
|
| // SVGAnimatedPropertyBase:
|
| virtual SVGPropertyBase* currentValueBase() override;
|
| virtual bool isAnimating() const override;
|
| - virtual PassRefPtr<SVGPropertyBase> createAnimatedValue() override;
|
| - virtual void setAnimatedValue(PassRefPtr<SVGPropertyBase>) override;
|
| + virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> createAnimatedValue() override;
|
| + virtual void setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase>) override;
|
| virtual void animationEnded() override;
|
| virtual bool needsSynchronizeAttribute() override;
|
|
|
| @@ -62,11 +63,13 @@ public:
|
| SVGStringList* value() { return m_value.get(); }
|
| SVGStringListTearOff* tearOff();
|
|
|
| + virtual void trace(Visitor*) override;
|
| +
|
| private:
|
| SVGStaticStringList(SVGElement*, const QualifiedName&);
|
|
|
| - RefPtr<SVGStringList> m_value;
|
| - RefPtr<SVGStringListTearOff> m_tearOff;
|
| + RefPtrWillBeMember<SVGStringList> m_value;
|
| + RefPtrWillBeMember<SVGStringListTearOff> m_tearOff;
|
| };
|
|
|
| }
|
|
|