| Index: Source/core/animation/AnimatableSVGLength.h
|
| diff --git a/Source/core/animation/AnimatableSVGLength.h b/Source/core/animation/AnimatableSVGLength.h
|
| index 49d7d46ad549a10619a364fcd3458fe30b2b8255..27dba9a48c1a0909de178272d900270e3d107bd8 100644
|
| --- a/Source/core/animation/AnimatableSVGLength.h
|
| +++ b/Source/core/animation/AnimatableSVGLength.h
|
| @@ -66,11 +66,7 @@ private:
|
| SVGLength m_length;
|
| };
|
|
|
| -inline const AnimatableSVGLength* toAnimatableSVGLength(const AnimatableValue* value)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(value && value->isSVGLength());
|
| - return static_cast<const AnimatableSVGLength*>(value);
|
| -}
|
| +DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableSVGLength, isSVGLength());
|
|
|
| } // namespace WebCore
|
|
|
|
|