Index: Source/core/css/CSSImageValue.h |
diff --git a/Source/core/css/CSSImageValue.h b/Source/core/css/CSSImageValue.h |
index 0e66982cb1a0670d3153edc7bd96e7f2d1a24a49..9046902e42130aab405ef7200f64c50b6e943396 100644 |
--- a/Source/core/css/CSSImageValue.h |
+++ b/Source/core/css/CSSImageValue.h |
@@ -67,20 +67,7 @@ private: |
AtomicString m_initiatorName; |
}; |
-inline CSSImageValue* toCSSImageValue(CSSValue* value) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!value || value->isImageValue()); |
- return static_cast<CSSImageValue*>(value); |
-} |
- |
-inline const CSSImageValue* toCSSImageValue(const CSSValue* value) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!value || value->isImageValue()); |
- return static_cast<const CSSImageValue*>(value); |
-} |
- |
-// Catch unneeded cast. |
-void toCSSImageValue(const CSSImageValue*); |
+DEFINE_CSS_VALUE_TYPE_CASTS(ImageValue); |
} // namespace WebCore |