| Index: Source/core/svg/SVGNumberOptionalNumber.h
|
| diff --git a/Source/core/svg/SVGNumberOptionalNumber.h b/Source/core/svg/SVGNumberOptionalNumber.h
|
| index b54bc594acb424792101027672ef4bda010a8b23..5c3ddb000b3159d3098b10b8a59740bdc3e0512f 100644
|
| --- a/Source/core/svg/SVGNumberOptionalNumber.h
|
| +++ b/Source/core/svg/SVGNumberOptionalNumber.h
|
| @@ -35,7 +35,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -class SVGNumberOptionalNumber : public NewSVGPropertyBase {
|
| +class SVGNumberOptionalNumber : public SVGPropertyBase {
|
| public:
|
| // Tearoff of SVGNumberOptionalNumber is never created.
|
| typedef void TearOffType;
|
| @@ -47,14 +47,14 @@ public:
|
| }
|
|
|
| PassRefPtr<SVGNumberOptionalNumber> clone() const;
|
| - virtual PassRefPtr<NewSVGPropertyBase> cloneForAnimation(const String&) const OVERRIDE;
|
| + virtual PassRefPtr<SVGPropertyBase> cloneForAnimation(const String&) const OVERRIDE;
|
|
|
| virtual String valueAsString() const OVERRIDE;
|
| void setValueAsString(const String&, ExceptionState&);
|
|
|
| - virtual void add(PassRefPtr<NewSVGPropertyBase>, SVGElement*) OVERRIDE;
|
| - virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<NewSVGPropertyBase> from, PassRefPtr<NewSVGPropertyBase> to, PassRefPtr<NewSVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) OVERRIDE;
|
| - virtual float calculateDistance(PassRefPtr<NewSVGPropertyBase> to, SVGElement* contextElement) OVERRIDE;
|
| + virtual void add(PassRefPtr<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;
|
|
|
| static AnimatedPropertyType classType() { return AnimatedNumberOptionalNumber; }
|
|
|
| @@ -68,9 +68,9 @@ protected:
|
| RefPtr<SVGNumber> m_secondNumber;
|
| };
|
|
|
| -inline PassRefPtr<SVGNumberOptionalNumber> toSVGNumberOptionalNumber(PassRefPtr<NewSVGPropertyBase> passBase)
|
| +inline PassRefPtr<SVGNumberOptionalNumber> toSVGNumberOptionalNumber(PassRefPtr<SVGPropertyBase> passBase)
|
| {
|
| - RefPtr<NewSVGPropertyBase> base = passBase;
|
| + RefPtr<SVGPropertyBase> base = passBase;
|
| ASSERT(base->type() == SVGNumberOptionalNumber::classType());
|
| return static_pointer_cast<SVGNumberOptionalNumber>(base.release());
|
| }
|
|
|