| Index: Source/core/svg/animation/SVGSMILElement.h
|
| diff --git a/Source/core/svg/animation/SVGSMILElement.h b/Source/core/svg/animation/SVGSMILElement.h
|
| index 7a8eb0d307ac88e8bb69b3afeb3fd2e5aa12f950..fbce2168c0e6167073200e1b9b12d8f9dcc6401b 100644
|
| --- a/Source/core/svg/animation/SVGSMILElement.h
|
| +++ b/Source/core/svg/animation/SVGSMILElement.h
|
| @@ -274,13 +274,13 @@ private:
|
| friend class ConditionEventListener;
|
| };
|
|
|
| -inline bool isSVGSMILElement(const Node& node)
|
| +inline bool isSVGSMILElement(const SVGElement& element)
|
| {
|
| - return node.hasTagName(SVGNames::setTag) || node.hasTagName(SVGNames::animateTag) || node.hasTagName(SVGNames::animateMotionTag)
|
| - || node.hasTagName(SVGNames::animateTransformTag) || node.hasTagName((SVGNames::discardTag));
|
| + return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames::animateTag) || element.hasTagName(SVGNames::animateMotionTag)
|
| + || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagName((SVGNames::discardTag));
|
| }
|
|
|
| -DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement);
|
| +DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement);
|
|
|
| }
|
|
|
|
|