Index: Source/core/animation/AnimatableLengthSize.h |
diff --git a/Source/core/animation/AnimatableLengthSize.h b/Source/core/animation/AnimatableLengthSize.h |
index c436045962ccb467a15a68235c2629b0bf64e73f..55dcc4090d3775d77286e7a4c2ae599de1271a5d 100644 |
--- a/Source/core/animation/AnimatableLengthSize.h |
+++ b/Source/core/animation/AnimatableLengthSize.h |
@@ -62,11 +62,7 @@ private: |
RefPtr<AnimatableValue> m_height; |
}; |
-inline const AnimatableLengthSize* toAnimatableLengthSize(const AnimatableValue* value) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(value && value->isLengthSize()); |
- return static_cast<const AnimatableLengthSize*>(value); |
-} |
+DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthSize, isLengthSize()); |
} // namespace WebCore |