Index: Source/core/svg/SVGAnimatedType.cpp |
diff --git a/Source/core/svg/SVGAnimatedType.cpp b/Source/core/svg/SVGAnimatedType.cpp |
index cdaf271b1dcf2a75020d2b51553babb77f0f2e18..b453becfe77c92cf83575e4212c3549296999c7a 100644 |
--- a/Source/core/svg/SVGAnimatedType.cpp |
+++ b/Source/core/svg/SVGAnimatedType.cpp |
@@ -37,9 +37,6 @@ SVGAnimatedType::~SVGAnimatedType() |
case AnimatedAngle: |
delete m_data.angleAndEnumeration; |
break; |
- case AnimatedBoolean: |
- delete m_data.boolean; |
- break; |
case AnimatedColor: |
delete m_data.color; |
break; |
@@ -79,6 +76,8 @@ SVGAnimatedType::~SVGAnimatedType() |
case AnimatedTransformList: |
delete m_data.transformList; |
break; |
+ // Below properties are migrated to new property implementation. |
+ case AnimatedBoolean: |
case AnimatedLength: |
case AnimatedLengthList: |
// handled by RefPtr |
@@ -97,14 +96,6 @@ PassOwnPtr<SVGAnimatedType> SVGAnimatedType::createAngleAndEnumeration(std::pair |
return animatedType.release(); |
} |
-PassOwnPtr<SVGAnimatedType> SVGAnimatedType::createBoolean(bool* boolean) |
-{ |
- ASSERT(boolean); |
- OwnPtr<SVGAnimatedType> animatedType = adoptPtr(new SVGAnimatedType(AnimatedBoolean)); |
- animatedType->m_data.boolean = boolean; |
- return animatedType.release(); |
-} |
- |
PassOwnPtr<SVGAnimatedType> SVGAnimatedType::createColor(Color* color) |
{ |
ASSERT(color); |