| Index: Source/core/animation/AnimatableLengthBox.h
|
| diff --git a/Source/core/animation/AnimatableLengthBox.h b/Source/core/animation/AnimatableLengthBox.h
|
| index f1ee0612eda97ce1c6741d6a1c8649ee9aadf4fb..b7ea5be5f6a197391e6f8578267161fc9fe8f581 100644
|
| --- a/Source/core/animation/AnimatableLengthBox.h
|
| +++ b/Source/core/animation/AnimatableLengthBox.h
|
| @@ -68,11 +68,7 @@ private:
|
| RefPtr<AnimatableValue> m_bottom;
|
| };
|
|
|
| -inline const AnimatableLengthBox* toAnimatableLengthBox(const AnimatableValue* value)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(value && value->isLengthBox());
|
| - return static_cast<const AnimatableLengthBox*>(value);
|
| -}
|
| +DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthBox, isLengthBox());
|
|
|
| } // namespace WebCore
|
|
|
|
|