| Index: Source/core/svg/SVGPathElement.h
|
| diff --git a/Source/core/svg/SVGPathElement.h b/Source/core/svg/SVGPathElement.h
|
| index 3065a0eda4dcbf5f356d703075afaffe20da18b0..766dd1d25090349519719829cd3d303f44a9d1fb 100644
|
| --- a/Source/core/svg/SVGPathElement.h
|
| +++ b/Source/core/svg/SVGPathElement.h
|
| @@ -130,11 +130,7 @@ private:
|
| bool m_isAnimValObserved;
|
| };
|
|
|
| -inline SVGPathElement* toSVGPathElement(Element* element)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::pathTag));
|
| - return static_cast<SVGPathElement*>(element);
|
| -}
|
| +DEFINE_NODE_TYPE_CASTS(SVGPathElement, hasTagName(SVGNames::pathTag));
|
|
|
| } // namespace WebCore
|
|
|
|
|