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

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

Issue 112003003: [SVG] SVGLength{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert aggressive svgAttributeChanged, add NeedsRebaseline 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/SVGAnimatedNewPropertyAnimator.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 39594532797ced56216da28ca46f6c0b41b896f8..82553553a6e01a729ad077f7c24db294bc0d67af 100644
--- a/Source/core/svg/SVGAnimatedType.h
+++ b/Source/core/svg/SVGAnimatedType.h
@@ -22,8 +22,6 @@
#include "core/svg/SVGAngle.h"
#include "core/svg/SVGColor.h"
-#include "core/svg/SVGLength.h"
-#include "core/svg/SVGLengthList.h"
#include "core/svg/SVGNumberList.h"
#include "core/svg/SVGPointList.h"
#include "core/svg/SVGPreserveAspectRatio.h"
@@ -47,8 +45,6 @@ public:
static PassOwnPtr<SVGAnimatedType> createEnumeration(unsigned*);
static PassOwnPtr<SVGAnimatedType> createInteger(int*);
static PassOwnPtr<SVGAnimatedType> createIntegerOptionalInteger(std::pair<int, int>*);
- static PassOwnPtr<SVGAnimatedType> createLength(SVGLength*);
- static PassOwnPtr<SVGAnimatedType> createLengthList(SVGLengthList*);
static PassOwnPtr<SVGAnimatedType> createNumber(float*);
static PassOwnPtr<SVGAnimatedType> createNumberList(SVGNumberList*);
static PassOwnPtr<SVGAnimatedType> createNumberOptionalNumber(std::pair<float, float>*);
@@ -100,18 +96,6 @@ public:
return *m_data.integerOptionalInteger;
}
- SVGLength& length()
- {
- ASSERT(m_type == AnimatedLength);
- return *m_data.length;
- }
-
- SVGLengthList& lengthList()
- {
- ASSERT(m_type == AnimatedLengthList);
- return *m_data.lengthList;
- }
-
float& number()
{
ASSERT(m_type == AnimatedNumber);
@@ -182,7 +166,6 @@ private:
union DataUnion {
DataUnion()
- : length(0)
{
}
@@ -192,8 +175,6 @@ private:
unsigned* enumeration;
int* integer;
std::pair<int, int>* integerOptionalInteger;
- SVGLength* length;
- SVGLengthList* lengthList;
float* number;
SVGNumberList* numberList;
std::pair<float, float>* numberOptionalNumber;
« no previous file with comments | « Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp ('k') | Source/core/svg/SVGAnimatedType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698