| Index: Source/core/svg/SVGFEFuncRElement.h
|
| diff --git a/Source/core/svg/SVGFEFuncRElement.h b/Source/core/svg/SVGFEFuncRElement.h
|
| index 4822a0b20bc17ae052acf08feff89ee4df9976c9..6b309a344ba9295536c7da65521d81831fc43f54 100644
|
| --- a/Source/core/svg/SVGFEFuncRElement.h
|
| +++ b/Source/core/svg/SVGFEFuncRElement.h
|
| @@ -34,11 +34,7 @@ private:
|
| SVGFEFuncRElement(const QualifiedName&, Document&);
|
| };
|
|
|
| -inline SVGFEFuncRElement* toSVGFEFuncRElement(Node* node)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::feFuncRTag));
|
| - return static_cast<SVGFEFuncRElement*>(node);
|
| -}
|
| +DEFINE_NODE_TYPE_CASTS(SVGFEFuncRElement, hasTagName(SVGNames::feFuncRTag));
|
|
|
| } // namespace WebCore
|
|
|
|
|