Index: Source/core/svg/SVGLength.h |
diff --git a/Source/core/svg/SVGLength.h b/Source/core/svg/SVGLength.h |
index d518b83709dce5719dfab7f7ffeb5c438ddf857f..b7986d34dc16c64c27c43008ced8a2c3ad994e5d 100644 |
--- a/Source/core/svg/SVGLength.h |
+++ b/Source/core/svg/SVGLength.h |
@@ -44,13 +44,13 @@ class SVGLength final : public SVGPropertyBase { |
public: |
typedef SVGLengthTearOff TearOffType; |
- static PassRefPtr<SVGLength> create(SVGLengthMode mode = LengthModeOther) |
+ static PassRefPtrWillBeRawPtr<SVGLength> create(SVGLengthMode mode = LengthModeOther) |
{ |
- return adoptRef(new SVGLength(mode)); |
+ return adoptRefWillBeNoop(new SVGLength(mode)); |
} |
- PassRefPtr<SVGLength> clone() const; |
- virtual PassRefPtr<SVGPropertyBase> cloneForAnimation(const String&) const override; |
+ PassRefPtrWillBeRawPtr<SVGLength> clone() const; |
+ virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override; |
SVGLengthType unitType() const { return static_cast<SVGLengthType>(m_unitType); } |
void setUnitType(SVGLengthType); |
@@ -90,15 +90,15 @@ public: |
return !m_valueInSpecifiedUnits; |
} |
- static PassRefPtr<SVGLength> fromCSSPrimitiveValue(CSSPrimitiveValue*); |
- static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> toCSSPrimitiveValue(PassRefPtr<SVGLength>); |
+ static PassRefPtrWillBeRawPtr<SVGLength> fromCSSPrimitiveValue(CSSPrimitiveValue*); |
+ static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> toCSSPrimitiveValue(PassRefPtrWillBeRawPtr<SVGLength>); |
static SVGLengthMode lengthModeForAnimatedLengthAttribute(const QualifiedName&); |
- PassRefPtr<SVGLength> blend(PassRefPtr<SVGLength> from, float progress) const; |
+ PassRefPtrWillBeRawPtr<SVGLength> blend(PassRefPtrWillBeRawPtr<SVGLength> from, float progress) const; |
virtual void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override; |
- virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> from, PassRefPtr<SVGPropertyBase> to, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override; |
- virtual float calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement* contextElement) override; |
+ virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) override; |
+ virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement* contextElement) override; |
static AnimatedPropertyType classType() { return AnimatedLength; } |
@@ -111,9 +111,9 @@ private: |
unsigned m_unitType : 4; |
}; |
-inline PassRefPtr<SVGLength> toSVGLength(PassRefPtr<SVGPropertyBase> passBase) |
+inline PassRefPtrWillBeRawPtr<SVGLength> toSVGLength(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase) |
{ |
- RefPtr<SVGPropertyBase> base = passBase; |
+ RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; |
ASSERT(base->type() == SVGLength::classType()); |
return static_pointer_cast<SVGLength>(base.release()); |
} |