| Index: Source/core/animation/AnimatableShapeValue.h
|
| diff --git a/Source/core/animation/AnimatableShapeValue.h b/Source/core/animation/AnimatableShapeValue.h
|
| index f8fcdd6db2a35e46e377c6b519fe72b02d31d27f..696a376d4b97163f469e0e4ee1d4e9bbb6d52396 100644
|
| --- a/Source/core/animation/AnimatableShapeValue.h
|
| +++ b/Source/core/animation/AnimatableShapeValue.h
|
| @@ -59,11 +59,7 @@ private:
|
| RefPtr<ShapeValue> m_shape;
|
| };
|
|
|
| -inline const AnimatableShapeValue* toAnimatableShapeValue(const AnimatableValue* value)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(value && value->isShapeValue());
|
| - return static_cast<const AnimatableShapeValue*>(value);
|
| -}
|
| +DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableShapeValue, isShapeValue());
|
|
|
| } // namespace WebCore
|
|
|
|
|