| Index: Source/core/svg/SVGFEDiffuseLightingElement.h
|
| diff --git a/Source/core/svg/SVGFEDiffuseLightingElement.h b/Source/core/svg/SVGFEDiffuseLightingElement.h
|
| index efd8e3fedbeb39206747c3ea083d866d491abb63..dc10343b7bc689d604e8b633efe5007c8bc482be 100644
|
| --- a/Source/core/svg/SVGFEDiffuseLightingElement.h
|
| +++ b/Source/core/svg/SVGFEDiffuseLightingElement.h
|
| @@ -57,11 +57,7 @@ private:
|
| END_DECLARE_ANIMATED_PROPERTIES
|
| };
|
|
|
| -inline SVGFEDiffuseLightingElement* toSVGFEDiffuseLightingElement(Node* node)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::feDiffuseLightingTag));
|
| - return static_cast<SVGFEDiffuseLightingElement*>(node);
|
| -}
|
| +DEFINE_NODE_TYPE_CASTS(SVGFEDiffuseLightingElement, hasTagName(SVGNames::feDiffuseLightingTag));
|
|
|
| } // namespace WebCore
|
|
|
|
|