Index: Source/core/animation/AnimatableStrokeDasharrayList.h |
diff --git a/Source/core/animation/AnimatableStrokeDasharrayList.h b/Source/core/animation/AnimatableStrokeDasharrayList.h |
index af5c9f19cb1bd2e1fa9eb632d3df2b562050ce09..d19b2e017ac4ae03584e7dc88d03570daba47e89 100644 |
--- a/Source/core/animation/AnimatableStrokeDasharrayList.h |
+++ b/Source/core/animation/AnimatableStrokeDasharrayList.h |
@@ -61,11 +61,7 @@ private: |
virtual AnimatableType type() const { return TypeStrokeDasharrayList; } |
}; |
-inline const AnimatableStrokeDasharrayList* toAnimatableStrokeDasharrayList(const AnimatableValue* value) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(value && value->isStrokeDasharrayList()); |
- return static_cast<const AnimatableStrokeDasharrayList*>(value); |
-} |
+DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableStrokeDasharrayList, isStrokeDasharrayList()); |
} // namespace WebCore |