Index: Source/core/animation/AnimatableSVGPaint.h |
diff --git a/Source/core/animation/AnimatableSVGPaint.h b/Source/core/animation/AnimatableSVGPaint.h |
index f8267fc6d3d8cd224922c5f614d74be06aae69be..93ebd2e8ca67921b3ff570fd6eb399f4bc103a45 100644 |
--- a/Source/core/animation/AnimatableSVGPaint.h |
+++ b/Source/core/animation/AnimatableSVGPaint.h |
@@ -71,11 +71,7 @@ private: |
String m_uri; |
}; |
-inline const AnimatableSVGPaint* toAnimatableSVGPaint(const AnimatableValue* value) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(value && value->isSVGPaint()); |
- return static_cast<const AnimatableSVGPaint*>(value); |
-} |
+DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableSVGPaint, isSVGPaint()); |
} // namespace WebCore |