| Index: Source/core/css/CSSGridTemplateValue.h
|
| diff --git a/Source/core/css/CSSGridTemplateValue.h b/Source/core/css/CSSGridTemplateValue.h
|
| index f2b796a283fbb84d3b47ddf132523c363bfae620..40967eddbce09690b391647c0f34047aec689f90 100644
|
| --- a/Source/core/css/CSSGridTemplateValue.h
|
| +++ b/Source/core/css/CSSGridTemplateValue.h
|
| @@ -56,20 +56,7 @@ private:
|
| size_t m_columnCount;
|
| };
|
|
|
| -inline CSSGridTemplateValue* toCSSGridTemplateValue(CSSValue* value)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(value->isGridTemplateValue());
|
| - return static_cast<CSSGridTemplateValue*>(value);
|
| -}
|
| -
|
| -inline const CSSGridTemplateValue* toCSSGridTemplateValue(const CSSValue* value)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(value->isGridTemplateValue());
|
| - return static_cast<const CSSGridTemplateValue*>(value);
|
| -}
|
| -
|
| -// Catch unneeded cast.
|
| -void toCSSGridTemplateValue(const CSSGridTemplateValue*);
|
| +DEFINE_CSS_VALUE_TYPE_CASTS(GridTemplateValue);
|
|
|
| } // namespace WebCore
|
|
|
|
|