| Index: Source/core/svg/SVGAnimatedRect.h
|
| diff --git a/Source/core/svg/SVGAnimatedRect.h b/Source/core/svg/SVGAnimatedRect.h
|
| index aa3997a95f263e19d6cddefbbeddc018e497d09e..ccbaef87eda6920171303992d09e93b1fdd4051e 100644
|
| --- a/Source/core/svg/SVGAnimatedRect.h
|
| +++ b/Source/core/svg/SVGAnimatedRect.h
|
| @@ -27,14 +27,14 @@
|
|
|
| namespace WebCore {
|
|
|
| -typedef SVGAnimatedPropertyTearOff<FloatRect> SVGAnimatedRect;
|
| +typedef SVGAnimatedPropertyTearOff<SVGRect> SVGAnimatedRect;
|
|
|
| // Helper macros to declare/define a SVGAnimatedRect object
|
| #define DECLARE_ANIMATED_RECT(UpperProperty, LowerProperty) \
|
| -DECLARE_ANIMATED_PROPERTY(SVGAnimatedRect, FloatRect, UpperProperty, LowerProperty)
|
| +DECLARE_ANIMATED_PROPERTY(SVGAnimatedRect, SVGRect, UpperProperty, LowerProperty)
|
|
|
| #define DEFINE_ANIMATED_RECT(OwnerType, DOMAttribute, UpperProperty, LowerProperty) \
|
| -DEFINE_ANIMATED_PROPERTY(AnimatedRect, OwnerType, DOMAttribute, DOMAttribute.localName(), UpperProperty, LowerProperty, SVGAnimatedRect, FloatRect)
|
| +DEFINE_ANIMATED_PROPERTY(AnimatedRect, OwnerType, DOMAttribute, DOMAttribute.localName(), UpperProperty, LowerProperty, SVGAnimatedRect, SVGRect)
|
|
|
| class SVGAnimationElement;
|
|
|
| @@ -53,8 +53,6 @@ public:
|
| virtual void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*);
|
| virtual void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*);
|
| virtual float calculateDistance(const String& fromString, const String& toString);
|
| -
|
| - static bool parseSVGRect(const String&, FloatRect&);
|
| };
|
|
|
| } // namespace WebCore
|
|
|