Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1607)

Unified Diff: Source/core/svg/SVGAnimatedRect.h

Issue 19096011: Get rid of SVGRect special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/svg/SVGTextQuery.cpp ('k') | Source/core/svg/SVGAnimatedRect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/rendering/svg/SVGTextQuery.cpp ('k') | Source/core/svg/SVGAnimatedRect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698