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

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

Issue 132233010: [SVG] SVGAnimatedRect migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebsaed Created 6 years, 11 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 3927b797df6d561233ab57e963c5bab44776fd40..c358b89b42b74b70f85fcf531f7cdfa894be4891 100644
--- a/Source/core/svg/SVGAnimatedType.h
+++ b/Source/core/svg/SVGAnimatedType.h
@@ -26,7 +26,6 @@
#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/NewSVGAnimatedProperty.h"
#include "core/svg/properties/SVGPropertyInfo.h"
@@ -51,7 +50,6 @@ public:
static PassOwnPtr<SVGAnimatedType> createPath(PassOwnPtr<SVGPathByteStream>);
static PassOwnPtr<SVGAnimatedType> createPointList(SVGPointList*);
static PassOwnPtr<SVGAnimatedType> createPreserveAspectRatio(SVGPreserveAspectRatio*);
- static PassOwnPtr<SVGAnimatedType> createRect(SVGRect*);
static PassOwnPtr<SVGAnimatedType> createString(String*);
static PassOwnPtr<SVGAnimatedType> createTransformList(SVGTransformList*);
// Temporary compatibility layer. This shouldn't be needed after all properties are switched to NewSVGAnimatedProperty impl.
@@ -126,12 +124,6 @@ public:
return *m_data.preserveAspectRatio;
}
- SVGRect& rect()
- {
- ASSERT(m_type == AnimatedRect);
- return *m_data.rect;
- }
-
String& string()
{
ASSERT(m_type == AnimatedString);
@@ -174,7 +166,6 @@ private:
SVGPathByteStream* path;
SVGPreserveAspectRatio* preserveAspectRatio;
SVGPointList* pointList;
- 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