| Index: Source/core/animation/AnimatableLength.h
|
| diff --git a/Source/core/animation/AnimatableLength.h b/Source/core/animation/AnimatableLength.h
|
| index 51666407b3fb68ab6eb772cecd077b1776a22245..8cf6e5924bdfae3ed273d7e00bee228ba8ee2d92 100644
|
| --- a/Source/core/animation/AnimatableLength.h
|
| +++ b/Source/core/animation/AnimatableLength.h
|
| @@ -152,11 +152,7 @@ private:
|
| friend class CoreAnimationAnimatableLengthTest;
|
| };
|
|
|
| -inline const AnimatableLength* toAnimatableLength(const AnimatableValue* value)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(value && value->isLength());
|
| - return static_cast<const AnimatableLength*>(value);
|
| -}
|
| +DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLength, isLength());
|
|
|
| } // namespace WebCore
|
|
|
|
|