| Index: Source/core/svg/SVGAnimatedLength.h
|
| diff --git a/Source/core/svg/SVGAnimatedLength.h b/Source/core/svg/SVGAnimatedLength.h
|
| index 36efeb08d1e17fe2c1615d9c4d22d4f31978fd32..200005e42a7c5ae143732ccde93652786b7cc740 100644
|
| --- a/Source/core/svg/SVGAnimatedLength.h
|
| +++ b/Source/core/svg/SVGAnimatedLength.h
|
| @@ -38,19 +38,23 @@ namespace WebCore {
|
|
|
| class SVGAnimatedLength : public NewSVGAnimatedProperty<SVGLength> {
|
| public:
|
| - static PassRefPtr<SVGAnimatedLength> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGLength> initialValue)
|
| + static PassRefPtr<SVGAnimatedLength> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGLength> initialValue, SVGLengthNegativeValuesMode negativeValuesMode)
|
| {
|
| - return adoptRef(new SVGAnimatedLength(contextElement, attributeName, initialValue));
|
| + return adoptRef(new SVGAnimatedLength(contextElement, attributeName, initialValue, negativeValuesMode));
|
| }
|
|
|
| void setDefaultValueAsString(const String&);
|
| - void setBaseValueAsString(const String&, SVGLengthNegativeValuesMode, SVGParsingError&);
|
| + void setBaseValueAsString(const String&, SVGParsingError&);
|
|
|
| protected:
|
| - SVGAnimatedLength(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGLength> initialValue)
|
| + SVGAnimatedLength(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtr<SVGLength> initialValue, SVGLengthNegativeValuesMode negativeValuesMode)
|
| : NewSVGAnimatedProperty<SVGLength>(contextElement, attributeName, initialValue)
|
| + , m_negativeValuesMode(negativeValuesMode)
|
| {
|
| }
|
| +
|
| +private:
|
| + SVGLengthNegativeValuesMode m_negativeValuesMode;
|
| };
|
|
|
| } // namespace WebCore
|
|
|