Index: Source/core/animation/animatable/AnimatableLengthPoint3D.h |
diff --git a/Source/core/animation/animatable/AnimatableLengthPoint3D.h b/Source/core/animation/animatable/AnimatableLengthPoint3D.h |
index 8de7f7a1b340e25969bfe3ccdb601d07b6776a9a..86378d6c0b00672857b24c3f87c0d80ae0c92af2 100644 |
--- a/Source/core/animation/animatable/AnimatableLengthPoint3D.h |
+++ b/Source/core/animation/animatable/AnimatableLengthPoint3D.h |
@@ -66,11 +66,7 @@ private: |
RefPtrWillBeMember<AnimatableValue> m_z; |
}; |
-inline const AnimatableLengthPoint3D* toAnimatableLengthPoint3D(const AnimatableValue* value) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(value && value->isLengthPoint3D()); |
- return static_cast<const AnimatableLengthPoint3D*>(value); |
-} |
+DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthPoint3D, isLengthPoint3D()); |
} // namespace WebCore |