| Index: third_party/WebKit/Source/core/svg/SVGAngle.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGAngle.h b/third_party/WebKit/Source/core/svg/SVGAngle.h
|
| index a915f85063bc1d7b717f52675012b05c7058fbd3..f426af2ad35a7aa8a9c1d71134a407f027094633 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAngle.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAngle.h
|
| @@ -43,16 +43,16 @@ template<> unsigned short getMaxExposedEnumValue<SVGMarkerOrientType>();
|
|
|
| class SVGMarkerOrientEnumeration : public SVGEnumeration<SVGMarkerOrientType> {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SVGMarkerOrientEnumeration> create(SVGAngle* angle)
|
| + static RawPtr<SVGMarkerOrientEnumeration> create(SVGAngle* angle)
|
| {
|
| - return adoptRefWillBeNoop(new SVGMarkerOrientEnumeration(angle));
|
| + return new SVGMarkerOrientEnumeration(angle);
|
| }
|
|
|
| ~SVGMarkerOrientEnumeration() override;
|
|
|
| - void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
|
| - void calculateAnimatedValue(SVGAnimationElement*, float, unsigned, PassRefPtrWillBeRawPtr<SVGPropertyBase>, PassRefPtrWillBeRawPtr<SVGPropertyBase>, PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
|
| - float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
|
| + void add(RawPtr<SVGPropertyBase>, SVGElement*) override;
|
| + void calculateAnimatedValue(SVGAnimationElement*, float, unsigned, RawPtr<SVGPropertyBase>, RawPtr<SVGPropertyBase>, RawPtr<SVGPropertyBase>, SVGElement*) override;
|
| + float calculateDistance(RawPtr<SVGPropertyBase>, SVGElement*) override;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -61,7 +61,7 @@ private:
|
|
|
| void notifyChange() override;
|
|
|
| - RawPtrWillBeMember<SVGAngle> m_angle;
|
| + Member<SVGAngle> m_angle;
|
| };
|
|
|
| class SVGAngle : public SVGPropertyHelper<SVGAngle> {
|
| @@ -77,9 +77,9 @@ public:
|
| SVG_ANGLETYPE_TURN = 5
|
| };
|
|
|
| - static PassRefPtrWillBeRawPtr<SVGAngle> create()
|
| + static RawPtr<SVGAngle> create()
|
| {
|
| - return adoptRefWillBeNoop(new SVGAngle());
|
| + return new SVGAngle();
|
| }
|
|
|
| ~SVGAngle() override;
|
| @@ -101,14 +101,14 @@ public:
|
|
|
| // SVGPropertyBase:
|
|
|
| - PassRefPtrWillBeRawPtr<SVGAngle> clone() const;
|
| + RawPtr<SVGAngle> clone() const;
|
|
|
| String valueAsString() const override;
|
| SVGParsingError setValueAsString(const String&);
|
|
|
| - void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
|
| - void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override;
|
| - float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement* contextElement) override;
|
| + void add(RawPtr<SVGPropertyBase>, SVGElement*) override;
|
| + void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, RawPtr<SVGPropertyBase> from, RawPtr<SVGPropertyBase> to, RawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override;
|
| + float calculateDistance(RawPtr<SVGPropertyBase> to, SVGElement* contextElement) override;
|
|
|
| static AnimatedPropertyType classType() { return AnimatedAngle; }
|
|
|
| @@ -122,7 +122,7 @@ private:
|
|
|
| SVGAngleType m_unitType;
|
| float m_valueInSpecifiedUnits;
|
| - RefPtrWillBeMember<SVGMarkerOrientEnumeration> m_orientType;
|
| + Member<SVGMarkerOrientEnumeration> m_orientType;
|
| };
|
|
|
| DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGAngle);
|
|
|