Index: Source/core/animation/AnimatableClipPathOperation.h |
diff --git a/Source/core/animation/AnimatableClipPathOperation.h b/Source/core/animation/AnimatableClipPathOperation.h |
index 065973158d05eebf0c8104d9611419424ef41a29..fe5b67a4a9fed28cb645ff6494a32ad176a64a03 100644 |
--- a/Source/core/animation/AnimatableClipPathOperation.h |
+++ b/Source/core/animation/AnimatableClipPathOperation.h |
@@ -59,11 +59,7 @@ private: |
RefPtr<ClipPathOperation> m_operation; |
}; |
-inline const AnimatableClipPathOperation* toAnimatableClipPathOperation(const AnimatableValue* value) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(value && value->isClipPathOperation()); |
- return static_cast<const AnimatableClipPathOperation*>(value); |
-} |
+DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableClipPathOperation, isClipPathOperation()); |
} // namespace WebCore |