Index: Source/core/css/CSSFontFaceSrcValue.h |
diff --git a/Source/core/css/CSSFontFaceSrcValue.h b/Source/core/css/CSSFontFaceSrcValue.h |
index 992448e98911f846a1a48590f6778edcc94e5795..db61e61b2294f51a64eabe44effa2990fe40d660 100644 |
--- a/Source/core/css/CSSFontFaceSrcValue.h |
+++ b/Source/core/css/CSSFontFaceSrcValue.h |
@@ -95,11 +95,7 @@ private: |
#endif |
}; |
-inline CSSFontFaceSrcValue* toCSSFontFaceSrcValue(CSSValue* value) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!value || value->isFontFaceSrcValue()); |
- return static_cast<CSSFontFaceSrcValue*>(value); |
-} |
+DEFINE_CSS_VALUE_TYPE_CASTS(FontFaceSrcValue); |
} |