| Index: Source/core/svg/animation/SVGSMILElement.h
|
| diff --git a/Source/core/svg/animation/SVGSMILElement.h b/Source/core/svg/animation/SVGSMILElement.h
|
| index 320e9cd7b4d60436d51fd1be72557384e5480425..4b156e8b263ba0407f155f69b35e8fe11ba6c72a 100644
|
| --- a/Source/core/svg/animation/SVGSMILElement.h
|
| +++ b/Source/core/svg/animation/SVGSMILElement.h
|
| @@ -234,6 +234,12 @@ private:
|
| friend class ConditionEventListener;
|
| };
|
|
|
| +inline SVGSMILElement* toSVGSMILElement(Element* element)
|
| +{
|
| + ASSERT_WITH_SECURITY_IMPLICATION(!element || SVGSMILElement::isSMILElement(element));
|
| + return static_cast<SVGSMILElement*>(element);
|
| +}
|
| +
|
| }
|
|
|
| #endif // SVGSMILElement_h
|
|
|