Index: Source/core/animation/AnimatableTransform.h |
diff --git a/Source/core/animation/AnimatableTransform.h b/Source/core/animation/AnimatableTransform.h |
index ad6ec181b4b756e0c2d0910687b2b8cf46a61fd2..0bd6e4ec5720c8b36efa2133c0acab765abd4013 100644 |
--- a/Source/core/animation/AnimatableTransform.h |
+++ b/Source/core/animation/AnimatableTransform.h |
@@ -59,11 +59,7 @@ private: |
const TransformOperations m_transform; |
}; |
-inline const AnimatableTransform* toAnimatableTransform(const AnimatableValue* value) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(value && value->isTransform()); |
- return static_cast<const AnimatableTransform*>(value); |
-} |
+DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableTransform, isTransform()); |
} // namespace WebCore |