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

Unified Diff: Source/core/svg/SVGAnimatedType.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/svg/SVGAnimatedRect.cpp ('k') | Source/core/svg/SVGAnimatedType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedType.h
diff --git a/Source/core/svg/SVGAnimatedType.h b/Source/core/svg/SVGAnimatedType.h
index 20515879eaa94349e0ac9940f3519d85fde7f94c..53c621690598033861c45fdd12e2ac194c00e394 100644
--- a/Source/core/svg/SVGAnimatedType.h
+++ b/Source/core/svg/SVGAnimatedType.h
@@ -20,7 +20,6 @@
#ifndef SVGAnimatedType_h
#define SVGAnimatedType_h
-#include "core/platform/graphics/FloatRect.h"
#include "core/svg/SVGAngle.h"
#include "core/svg/SVGColor.h"
#include "core/svg/SVGLength.h"
@@ -28,6 +27,7 @@
#include "core/svg/SVGNumberList.h"
#include "core/svg/SVGPointList.h"
#include "core/svg/SVGPreserveAspectRatio.h"
+#include "core/svg/SVGRect.h"
#include "core/svg/SVGTransformList.h"
#include "core/svg/properties/SVGPropertyInfo.h"
@@ -54,7 +54,7 @@ public:
static PassOwnPtr<SVGAnimatedType> createPath(PassOwnPtr<SVGPathByteStream>);
static PassOwnPtr<SVGAnimatedType> createPointList(SVGPointList*);
static PassOwnPtr<SVGAnimatedType> createPreserveAspectRatio(SVGPreserveAspectRatio*);
- static PassOwnPtr<SVGAnimatedType> createRect(FloatRect*);
+ static PassOwnPtr<SVGAnimatedType> createRect(SVGRect*);
static PassOwnPtr<SVGAnimatedType> createString(String*);
static PassOwnPtr<SVGAnimatedType> createTransformList(SVGTransformList*);
static bool supportsAnimVal(AnimatedPropertyType);
@@ -146,7 +146,7 @@ public:
return *m_data.preserveAspectRatio;
}
- const FloatRect& rect() const
+ const SVGRect& rect() const
{
ASSERT(m_type == AnimatedRect);
return *m_data.rect;
@@ -249,7 +249,7 @@ public:
return *m_data.preserveAspectRatio;
}
- FloatRect& rect()
+ SVGRect& rect()
{
ASSERT(m_type == AnimatedRect);
return *m_data.rect;
@@ -295,7 +295,7 @@ private:
SVGPathByteStream* path;
SVGPreserveAspectRatio* preserveAspectRatio;
SVGPointList* pointList;
- FloatRect* rect;
+ SVGRect* rect;
String* string;
SVGTransformList* transformList;
} m_data;
« no previous file with comments | « Source/core/svg/SVGAnimatedRect.cpp ('k') | Source/core/svg/SVGAnimatedType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698