Index: Source/core/animation/AnimatableUnknown.h |
diff --git a/Source/core/animation/AnimatableUnknown.h b/Source/core/animation/AnimatableUnknown.h |
index c29ff8c47e9acc22804bd786a68c46b689fb8764..43be1c8568cd628b08ffb3569e460cd1dd820c03 100644 |
--- a/Source/core/animation/AnimatableUnknown.h |
+++ b/Source/core/animation/AnimatableUnknown.h |
@@ -71,11 +71,7 @@ private: |
const RefPtr<CSSValue> m_value; |
}; |
-inline const AnimatableUnknown* toAnimatableUnknown(const AnimatableValue* value) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(value && value->isUnknown()); |
- return static_cast<const AnimatableUnknown*>(value); |
-} |
+DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableUnknown, isUnknown()); |
inline bool AnimatableUnknown::equalTo(const AnimatableValue* value) const |
{ |