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

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: 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
Index: Source/core/svg/SVGAnimatedType.h
diff --git a/Source/core/svg/SVGAnimatedType.h b/Source/core/svg/SVGAnimatedType.h
index 059e336f56358a3ff004087226d4aa2093633d81..677eb6b54d5ae5a0aa53c9052cd8f158ea27f05a 100644
--- a/Source/core/svg/SVGAnimatedType.h
+++ b/Source/core/svg/SVGAnimatedType.h
@@ -25,7 +25,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"
@@ -50,7 +49,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.
@@ -125,12 +123,6 @@ public:
return *m_data.preserveAspectRatio;
}
- SVGRect& rect()
- {
- ASSERT(m_type == AnimatedRect);
- return *m_data.rect;
- }
-
String& string()
{
ASSERT(m_type == AnimatedString);
@@ -173,7 +165,6 @@ private:
SVGPathByteStream* path;
SVGPreserveAspectRatio* preserveAspectRatio;
SVGPointList* pointList;
- SVGRect* rect;
String* string;
SVGTransformList* transformList;
} m_data;

Powered by Google App Engine
This is Rietveld 408576698