| Index: Source/core/svg/SVGPatternElement.h
|
| diff --git a/Source/core/svg/SVGPatternElement.h b/Source/core/svg/SVGPatternElement.h
|
| index 2afb90df3a9324506a1f55a1c41b66c6850946b8..13780119cf22ae36c41c70dd3b7a6f665678027c 100644
|
| --- a/Source/core/svg/SVGPatternElement.h
|
| +++ b/Source/core/svg/SVGPatternElement.h
|
| @@ -86,11 +86,7 @@ private:
|
| virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLanguage(this); }
|
| };
|
|
|
| -inline SVGPatternElement* toSVGPatternElement(Node* node)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::patternTag));
|
| - return static_cast<SVGPatternElement*>(node);
|
| -}
|
| +DEFINE_NODE_TYPE_CASTS(SVGPatternElement, hasTagName(SVGNames::patternTag));
|
|
|
| } // namespace WebCore
|
|
|
|
|