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

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

Issue 132233016: [SVG] SVGAnimatedPointList 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 677eb6b54d5ae5a0aa53c9052cd8f158ea27f05a..564db24e30dcb02130289e93abc60413d2bda600 100644
--- a/Source/core/svg/SVGAnimatedType.h
+++ b/Source/core/svg/SVGAnimatedType.h
@@ -23,7 +23,6 @@
#include "core/svg/SVGAngle.h"
#include "core/svg/SVGColor.h"
#include "core/svg/SVGNumberList.h"
-#include "core/svg/SVGPointList.h"
#include "core/svg/SVGPreserveAspectRatio.h"
#include "core/svg/SVGTransformList.h"
#include "core/svg/properties/NewSVGAnimatedProperty.h"
@@ -47,7 +46,6 @@ public:
static PassOwnPtr<SVGAnimatedType> createNumberList(SVGNumberList*);
static PassOwnPtr<SVGAnimatedType> createNumberOptionalNumber(std::pair<float, float>*);
static PassOwnPtr<SVGAnimatedType> createPath(PassOwnPtr<SVGPathByteStream>);
- static PassOwnPtr<SVGAnimatedType> createPointList(SVGPointList*);
static PassOwnPtr<SVGAnimatedType> createPreserveAspectRatio(SVGPreserveAspectRatio*);
static PassOwnPtr<SVGAnimatedType> createString(String*);
static PassOwnPtr<SVGAnimatedType> createTransformList(SVGTransformList*);
@@ -111,12 +109,6 @@ public:
return m_data.path;
}
- SVGPointList& pointList()
- {
- ASSERT(m_type == AnimatedPoints);
- return *m_data.pointList;
- }
-
SVGPreserveAspectRatio& preserveAspectRatio()
{
ASSERT(m_type == AnimatedPreserveAspectRatio);
@@ -164,7 +156,6 @@ private:
std::pair<float, float>* numberOptionalNumber;
SVGPathByteStream* path;
SVGPreserveAspectRatio* preserveAspectRatio;
- SVGPointList* pointList;
String* string;
SVGTransformList* transformList;
} m_data;

Powered by Google App Engine
This is Rietveld 408576698