| Index: Source/core/svg/SVGImageElement.h | 
| diff --git a/Source/core/svg/SVGImageElement.h b/Source/core/svg/SVGImageElement.h | 
| index fc4e1573635f17d785f06369a7bccf1a2436e74b..8da463461800e00bbb8ea6086a58604ad2091cc8 100644 | 
| --- a/Source/core/svg/SVGImageElement.h | 
| +++ b/Source/core/svg/SVGImageElement.h | 
| @@ -78,11 +78,7 @@ private: | 
| SVGImageLoader m_imageLoader; | 
| }; | 
|  | 
| -inline SVGImageElement* toSVGImageElement(Node* node) | 
| -{ | 
| -    ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::imageTag)); | 
| -    return static_cast<SVGImageElement*>(node); | 
| -} | 
| +DEFINE_NODE_TYPE_CASTS(SVGImageElement, hasTagName(SVGNames::imageTag)); | 
|  | 
| } // namespace WebCore | 
|  | 
|  |