| Index: Source/core/svg/SVGAnimateElement.h
|
| diff --git a/Source/core/svg/SVGAnimateElement.h b/Source/core/svg/SVGAnimateElement.h
|
| index ad9317cc2d9f634fffcb32d1bdd7f796aa949369..8907c758754ca33ca5707206d10cc6a5f9e132f9 100644
|
| --- a/Source/core/svg/SVGAnimateElement.h
|
| +++ b/Source/core/svg/SVGAnimateElement.h
|
| @@ -73,14 +73,14 @@ private:
|
| OwnPtrWillBeMember<SVGAnimatedTypeAnimator> m_animator;
|
| };
|
|
|
| -inline bool isSVGAnimateElement(const Node& node)
|
| +inline bool isSVGAnimateElement(const SVGElement& element)
|
| {
|
| - return node.hasTagName(SVGNames::animateTag)
|
| - || node.hasTagName(SVGNames::animateTransformTag)
|
| - || node.hasTagName(SVGNames::setTag);
|
| + return element.hasTagName(SVGNames::animateTag)
|
| + || element.hasTagName(SVGNames::animateTransformTag)
|
| + || element.hasTagName(SVGNames::setTag);
|
| }
|
|
|
| -DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement);
|
| +DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement);
|
|
|
| } // namespace blink
|
|
|
|
|