| Index: Source/core/svg/SVGGlyphElement.h
|
| diff --git a/Source/core/svg/SVGGlyphElement.h b/Source/core/svg/SVGGlyphElement.h
|
| index 2598356a5e89a3afba3dddb6ce2fc60892956e59..a08bc8298f170ebd7e7230a231b329730613bbec 100644
|
| --- a/Source/core/svg/SVGGlyphElement.h
|
| +++ b/Source/core/svg/SVGGlyphElement.h
|
| @@ -58,11 +58,7 @@ private:
|
| void invalidateGlyphCache();
|
| };
|
|
|
| -inline SVGGlyphElement* toSVGGlyphElement(Node* node)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::glyphTag));
|
| - return static_cast<SVGGlyphElement*>(node);
|
| -}
|
| +DEFINE_NODE_TYPE_CASTS(SVGGlyphElement, hasTagName(SVGNames::glyphTag));
|
|
|
| } // namespace WebCore
|
|
|
|
|