| Index: Source/core/svg/SVGStyleElement.h
|
| diff --git a/Source/core/svg/SVGStyleElement.h b/Source/core/svg/SVGStyleElement.h
|
| index 35cf7be6a1e0c621d9c22cb64e9875a75676bced..4106d28dffe1c926f978f412ae394612314af293 100644
|
| --- a/Source/core/svg/SVGStyleElement.h
|
| +++ b/Source/core/svg/SVGStyleElement.h
|
| @@ -68,11 +68,7 @@ private:
|
| Timer<SVGElement> m_svgLoadEventTimer;
|
| };
|
|
|
| -inline SVGStyleElement* toSVGStyleElement(Node* node)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::styleTag));
|
| - return static_cast<SVGStyleElement*>(node);
|
| -}
|
| +DEFINE_NODE_TYPE_CASTS(SVGStyleElement, hasTagName(SVGNames::styleTag));
|
|
|
| } // namespace WebCore
|
|
|
|
|