| Index: Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp
|
| diff --git a/Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp b/Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp
|
| index dc0247eed96591b22c53390226e9afbb342c7eb1..90fe59004a5ccb8f40db1e00b722bc122b498371 100644
|
| --- a/Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp
|
| +++ b/Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp
|
| @@ -24,7 +24,7 @@
|
| namespace WebCore {
|
|
|
| SVGAnimatedNumberOptionalNumber::SVGAnimatedNumberOptionalNumber(SVGElement* contextElement, const QualifiedName& attributeName, float initialFirstValue, float initialSecondValue)
|
| - : NewSVGAnimatedPropertyCommon<SVGNumberOptionalNumber>(contextElement, attributeName,
|
| + : SVGAnimatedPropertyCommon<SVGNumberOptionalNumber>(contextElement, attributeName,
|
| SVGNumberOptionalNumber::create(SVGNumber::create(initialFirstValue), SVGNumber::create(initialSecondValue)))
|
| , m_firstNumber(SVGAnimatedNumber::create(contextElement, attributeName, baseValue()->firstNumber()))
|
| , m_secondNumber(SVGAnimatedNumber::create(contextElement, attributeName, baseValue()->secondNumber()))
|
| @@ -35,21 +35,21 @@ SVGAnimatedNumberOptionalNumber::SVGAnimatedNumberOptionalNumber(SVGElement* con
|
|
|
| void SVGAnimatedNumberOptionalNumber::animationStarted()
|
| {
|
| - NewSVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::animationStarted();
|
| + SVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::animationStarted();
|
| m_firstNumber->animationStarted();
|
| m_secondNumber->animationStarted();
|
| }
|
|
|
| -void SVGAnimatedNumberOptionalNumber::setAnimatedValue(PassRefPtr<NewSVGPropertyBase> value)
|
| +void SVGAnimatedNumberOptionalNumber::setAnimatedValue(PassRefPtr<SVGPropertyBase> value)
|
| {
|
| - NewSVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::setAnimatedValue(value);
|
| + SVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::setAnimatedValue(value);
|
| m_firstNumber->setAnimatedValue(currentValue()->firstNumber());
|
| m_secondNumber->setAnimatedValue(currentValue()->secondNumber());
|
| }
|
|
|
| void SVGAnimatedNumberOptionalNumber::animationEnded()
|
| {
|
| - NewSVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::animationEnded();
|
| + SVGAnimatedPropertyCommon<SVGNumberOptionalNumber>::animationEnded();
|
| m_firstNumber->animationEnded();
|
| m_secondNumber->animationEnded();
|
| }
|
|
|