| Index: Source/core/animation/AnimatableLengthBoxAndBool.h
|
| diff --git a/Source/core/animation/AnimatableLengthBoxAndBool.h b/Source/core/animation/AnimatableLengthBoxAndBool.h
|
| index 21e8d73030e7d54d9e87d2d416b3b0165adc9394..ddfc8fa59097a89ca2b6fa7c8f490b8b5efbf546 100644
|
| --- a/Source/core/animation/AnimatableLengthBoxAndBool.h
|
| +++ b/Source/core/animation/AnimatableLengthBoxAndBool.h
|
| @@ -62,11 +62,7 @@ private:
|
| bool m_flag;
|
| };
|
|
|
| -inline const AnimatableLengthBoxAndBool* toAnimatableLengthBoxAndBool(const AnimatableValue* value)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(value && value->isLengthBoxAndBool());
|
| - return static_cast<const AnimatableLengthBoxAndBool*>(value);
|
| -}
|
| +DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthBoxAndBool, isLengthBoxAndBool());
|
|
|
| } // namespace WebCore
|
|
|
|
|